rmeasure-pomp {pomp}R Documentation

Simulate the measurement model of a partially-observed Markov process

Description

The method rmeasure draws from the distribution of measurements given the state of the system.

Usage

rmeasure(object, x, times, params, ...)
## S4 method for signature 'pomp':
rmeasure(object, x, times, params, ...)

Arguments

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.

Details

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.

Value

Returns a rank-3 array of dimensions nobs x nreps x ntimes, where nobs is the number of observed variables.

Author(s)

Aaron A. King (kingaa at umich dot edu)

See Also

pomp-class, pomp


[Package pomp version 0.22-6 Index]