unit_objects {panelPomp}R Documentation

Extract units of a panel model

Description

unit_objects() is a generic function that extracts a list of objects corresponding to units of panel objects returned by panel modeling functions.

Usage

unit_objects(object, ...)

Arguments

object

an object for which extraction of panel units is meaningful.

...

additional arguments.

Details

This is a generic function: methods can be defined for it.

Value

Units extracted from the panel model object.

When given objects of class panelPomp, unit_objects() returns a list of pomp objects.

Author(s)

Carles Bretó

See Also

panelPomp_methods

Examples

prw <- panelRandomWalk()
## access underlying pomp objects
unit_objects(prw)

[Package panelPomp version 1.5.0.0 Index]