Get and set the vector of observation times.
# S4 method for pomp
time(x, t0 = FALSE, ...)# S4 method for pomp
time(object, t0 = FALSE, ...) <- value
# S4 method for listie
time(x, t0 = FALSE, ...)
a ‘pomp’ object
logical; should the zero time be included?
ignored or passed to the more primitive function
a ‘pomp’ object
numeric vector; the new vector of times
time(object) returns the vector of observation times.
time(object,t0=TRUE) returns the vector of observation
times with the zero-time t0 prepended.
time(object) <- value replaces the observation times slot (times) of object with value.
time(object,t0=TRUE) <- value has the same effect, but the first element in value is taken to be the initial time.
The second and subsequent elements of value are taken to be the observation times.
Those data and states (if they exist) corresponding to the new times are retained.