Learn R Programming

pomp (version 0.22-6)

trajectory-pomp: Compute trajectories of the determinstic skeleton.

Description

The method trajectory computes a trajectory of the deterministic skeleton of a Markov process. 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 integrates the vectorfield to obtain a trajectory.

Usage

trajectory(object, params, times, ...)
## S3 method for class 'pomp':
trajectory(object, params, times, \dots)

Arguments

object
an object of class pomp.
times
a numeric vector containing the times at which a trajectory is desired. The first of these will be the initial time. By default, times=time(object,t0=TRUE).
params
a rank-2 array of parameters. Each column of params is a distinct parameter vector.
...
at present, these are ignored.

Value

  • Returns an array of dimensions nvar x nreps 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].

Details

This function makes repeated calls to the user-supplied skeleton of the pomp object. For specifications on supplying this, see pomp.

What is the behavior if type="map" and times are non-integral?

See Also

pomp-class, pomp