Description Usage Arguments Details Value See Also
Compute trajectories of the deterministic skeleton of a Markov process.
1 2 3 4 5 6 7 8 | ## S4 method for signature 'pomp'
trajectory(object, params, times, t0,
format = c("array", "data.frame"), ...,
verbose = getOption("verbose", FALSE))
## S4 method for signature 'traj_match_objfun'
trajectory(object, ...,
verbose = getOption("verbose", FALSE))
|
object |
an object of class ‘pomp’, or of a class that extends ‘pomp’.
This will typically be the output of |
params |
a |
times |
a numeric vector (length |
t0 |
the initial time, i.e., the time corresponding to the initial-state distribution. |
format |
the format in which to return the results.
|
... |
Additional arguments are passed to the ODE integrator (if the skeleton is a vectorfield) and are ignored if it is a map.
See Note that this behavior differs from most other functions in pomp.
It is not possible to modify the model structure in a call to |
verbose |
logical; if |
In the case of a discrete-time system, the deterministic skeleton is a map and a trajectory is obtained by iterating the map.
In the case of a continuous-time system, the deterministic skeleton is a vector-field;
trajectory
uses the numerical solvers in deSolve to integrate the vectorfield.
trajectory
returns an array of dimensions nvar
x nrep
x ntimes
.
If x
is the returned matrix, x[i,j,k]
is the i-th component of the state vector at time times[k]
given parameters params[,j]
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.