particles-mif: Generate particles from the user-specified distribution.

Description Usage Arguments Details Value Author(s) See Also

Description

Generate particles from the user-specified distribution. This is part of the low-level interface, used by mif. This help page does not give instruction on how to write a valid particles function: see the documentation for mif instead.

Usage

1
2
3
particles(object, ...)
## S4 method for signature 'mif'
particles(object, Np = 1, center = coef(object), sd = 0, ...)

Arguments

object

the mif object

Np

the number of particles, i.e., number of draws.

center

the central value of the distribution of particles

sd

the width of the distribution

...

additional arguments. At present, these are ignored.

Details

The particles method is used to set up the initial distribution of particles. It is an interface to the user-specifed particles slot in the mif object.

Value

particles returns a list of two matrices. states contains the state-variable portion of the particles; params contains the parameter portion. Each has Np columns.

Author(s)

Aaron A. King kingaa at umich dot edu

See Also

mif, mif-methods, pomp, pomp-class


pomp documentation built on May 31, 2017, 1:28 a.m.

Search within the pomp package
Search all R packages, documentation and source code