rmeasure-pomp {pomp} | R Documentation |
The method rmeasure
draws from the distribution of measurements given the state of the system.
rmeasure(object, x, times, params, ...) ## S4 method for signature 'pomp': rmeasure(object, x, times, params, ...)
object |
an object of class pomp . |
x |
a rank-3 array containing the states of the unobserved process.
The dimensions of x are nvars x nreps x ntimes , where nvars is the number of state variables, nreps is the number of simulations, and ntimes is the number of distinct times.
Note that if ntimes!=length(times) , an error is generated.
|
times |
a numerical vector containing the times at which the measurements are to be made. |
params |
a rank-2 array (dimensions npars x nreps ) of parameters with the parameters corresponding to the columns of x .
|
... |
at present, these are ignored. |
This function is essentially a wrapper around the user-supplied rmeasure
slot of the pomp
object.
For specifications on writing such a function, see pomp
.
Returns a rank-3 array of dimensions nobs
x nreps
x ntimes
, where nobs
is the number of observed variables.
Aaron A. King (kingaa at umich dot edu)