Samples from the initial-state distribution.
# S4 method for pomp
rinit(object, params, t0, nsim = 1, ...)
an object of class ‘pomp’, or of a class that extends ‘pomp’.
This will typically be the output of pomp
, simulate
, or one of the pomp inference algorithms.
a npar
x nrep
matrix of parameters.
Each column is treated as an independent parameter set, in correspondence with the corresponding column of x
.
the initial time, i.e., the time corresponding to the initial-state distribution.
optional integer; the number of initial states to simulate per column of params
.
additional arguments are ignored.
rinit
returns an nvar
x nsim*ncol(params)
matrix of state-process initial conditions when given an npar
x nsim
matrix of parameters, params
, and an initial time t0
.
By default, t0
is the initial time defined when the ‘pomp’ object ws constructed.
Specification of the initial-state distribution: rinit_spec
More on pomp workhorse functions:
dmeasure()
,
dprior()
,
dprocess()
,
flow()
,
partrans()
,
rmeasure()
,
rprior()
,
rprocess()
,
skeleton()
,
workhorses