| partrans {pomp} | R Documentation |
partrans workhorse
Description
Performs parameter transformations.
Usage
## S4 method for signature 'pomp'
partrans(object, params, dir = c("fromEst", "toEst"), ...)
## S4 method for signature 'objfun'
partrans(object, ...)
Arguments
object |
an object of class ‘pomp’, or of a class that extends ‘pomp’.
This will typically be the output of |
params |
a |
dir |
the direction of the transformation to perform. |
... |
additional arguments are ignored. |
Value
If dir=fromEst, the parameters in params are assumed to be on the estimation scale and are transformed onto the natural scale.
If dir=toEst, they are transformed onto the estimation scale.
In both cases, the parameters are returned as a named numeric vector or an array with rownames, as appropriate.
See Also
Specification of parameter transformations: parameter_trans
More on pomp workhorse functions:
dinit(),
dmeasure(),
dprior(),
dprocess(),
emeasure(),
flow(),
pomp-package,
rinit(),
rmeasure(),
rprior(),
rprocess(),
skeleton(),
vmeasure(),
workhorses