prior-pomp: Evaluate or simulate from the prior probability density
Description
The method dprior evaluates the prior probability density and rprior simulates from it.
This function is part of the low-level interface to pomp objects.
This help page does not give instructions on the implementation of models: see pomp for instructions.Usage
## S3 method for class 'pomp':
dprior(object, params, log = FALSE, \dots)
## S3 method for class 'pomp':
rprior(object, params, \dots)
Arguments
object
an object of class pomp.
params
a rank-2 array of parameters with columns corresponding to the columns of x.
log
if TRUE, log probabilities are returned.
...
at present, these are ignored.
Details
These functions are essentially wrappers around the user-supplied dprior and rprior functions stored in the pomp object.
For specifications on writing these functions, see pomp.