Extract, set, or modify the estimated parameters from a fitted model.
# S4 method for listie
coef(object, ...)# S4 method for pomp
coef(object, pars, transform = FALSE, ...)
# S4 method for pomp
coef(object, pars, transform = FALSE, ...) <- value
# S4 method for objfun
coef(object, ...)
an object of class ‘pomp’, or of a class extending ‘pomp’
ignored
optional character; names of parameters to be retrieved or set.
logical; perform parameter transformation?
numeric vector or list; values to be assigned.
If value = NULL, the parameters are unset.
coef allows one to extract the parameters from a fitted model.
coef(object,transform=TRUE) returns the parameters transformed onto
the estimation scale.
coef(object) <- value sets or alters the coefficients of a
‘pomp’ object.
coef(object,transform=TRUE) <- value assumes that value is on
the estimation scale, and applies the “from estimation scale”
parameter transformation from object before altering the
coefficients.