pomp (version 0.34-1)

init.state-pomp: Return a matrix of initial conditions given a vector of parameters and an initial time.

Description

The method init.state returns a vector of initial conditions for the state process when given a vector of parameters params and an initial time t0. This function is part of the low-level interface to pomp objects. This help page does not give instructions on the implementation of models: see pomp for instructions.

Usage

init.state(object, params, t0, ...)
## S3 method for class 'pomp':
init.state(object, params, t0, \dots)

Arguments

object
an object of class pomp.
params
a named vector of parameters.
t0
the initial time at which initial states are requested.
...
at present, these are ignored.

Value

  • Returns a matrix of initial states (with rownames).

See Also

pomp-class

Examples

Run this code
data(ou2)
coef(ou2)
init.state(ou2)

data(euler.sir)
coef(euler.sir)
init.state(euler.sir)

Run the code above in your browser using DataLab