rinit | R Documentation |
Samples from the initial-state distribution.
## S4 method for signature 'pomp'
rinit(object, params = coef(object), t0 = timezero(object), nsim = 1, ...)
object |
an object of class ‘pomp’, or of a class that extends ‘pomp’.
This will typically be the output of |
params |
a |
t0 |
the initial time, i.e., the time corresponding to the initial-state distribution. |
nsim |
optional integer; the number of initial states to simulate per column of |
... |
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.
_spec of the initial-state distribution: rinit_spec
More on pomp workhorse functions:
dinit()
,
dmeasure()
,
dprior()
,
dprocess()
,
emeasure()
,
flow()
,
partrans()
,
pomp-package
,
rmeasure()
,
rprior()
,
rprocess()
,
skeleton()
,
vmeasure()
,
workhorses
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.