as.timedData: Convert a time series object to a timed data matrix
Description
This function converts a time series object to a timed data matrix,
similar to that produced by simTimes. The main purpose is
for passing data to the function pfMLLik, which expects
data encoded in this format.
Usage
as.timedData(timeseries)
Value
An R matrix object with row names corresponding to observation times, similar to that produced by simTimes.
Arguments
timeseries
An R timeseries object, such as produced by the functions ts or simTs.