rprocess | R Documentation |
rprocess
simulates the process-model portion of partially-observed Markov process.
## S4 method for signature 'pomp'
rprocess(
object,
x0 = rinit(object),
t0 = timezero(object),
times = time(object),
params = coef(object),
...
)
object |
an object of class ‘pomp’, or of a class that extends ‘pomp’.
This will typically be the output of |
x0 |
an |
t0 |
the initial time, i.e., the time corresponding to the state in |
times |
a numeric vector (length |
params |
a |
... |
additional arguments are ignored. |
When rprocess
is called, t0
is taken to be the initial time (i.e., that corresponding to x0
).
The values in times
are the times at which the state of the simulated processes are required.
rprocess
returns a rank-3 array with rownames.
Suppose x
is the array returned.
Then
dim(x)=c(nvars,nrep,ntimes),
where nvars
is the number of state variables (=nrow(x0)
),
nrep
is the number of independent realizations simulated (=ncol(x0)
), and
ntimes
is the length of the vector times
.
x[,j,k]
is the value of the state process in the j
-th realization at time times[k]
.
The rownames of x
will correspond to those of x0
.
Specification of the process-model simulator: rprocess_spec
More on pomp workhorse functions:
dinit()
,
dmeasure()
,
dprior()
,
dprocess()
,
emeasure()
,
flow()
,
partrans()
,
pomp-package
,
rinit()
,
rmeasure()
,
rprior()
,
skeleton()
,
vmeasure()
,
workhorses
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.