Learn R Programming

pomp (version 2.2)

accumulators: accumulators

Description

Accumulator variables

Arguments

Details

In formulating models, one sometimes wishes to define a state variable that will accumulate some quantity over the interval between successive observations. pomp provides a facility to make such features more convenient. Specifically, variables named in the pomp's accumvars argument will be set to zero immediately following each observation. See sir and the tutorials on the package website for examples.

See Also

sir

Other information on model implementation: Csnippet, covariate_table, distributions, dmeasure_spec, dprocess_spec, parameter_trans, pomp-package, prior_spec, rinit_spec, rmeasure_spec, rprocess_spec, skeleton_spec, transformations, userdata