Extract the parameters of a particular model.
Usage
parameters(model, ...)
# S4 method for class 'model'
parameters(model, parameters_only = FALSE, ...)Arguments
- model
Instance of the
model-class- ...
Additional arguments passed on to
index- parameters_only
Logical denoting whether to only extract the determinstic parameters of the model (
TRUE) or also include the covariance parameters (FALSE). Defaults toFALSE.
Examples
parameters(double_exponential(d = 2, k = 3))
#> [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
parameters(double_exponential(d = 2, k = 3))
#> [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0