partrans function

partrans workhorse

partrans workhorse

Performs parameter transformations. methods

## 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 pomp, simulate, or one of the pomp inference algorithms.
  • params: a npar x nrep matrix of parameters. Each column is treated as an independent parameter set, in correspondence with the corresponding column of x.
  • ...: additional arguments are ignored.
  • dir: the direction of the transformation to perform.

Returns

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

  • Maintainer: Aaron A. King
  • License: GPL-3
  • Last published: 2025-01-08