as.timedData | R Documentation |
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.
as.timedData(timeseries)
timeseries |
An R timeseries object, such as produced by the functions |
An R matrix object with row names corresponding to observation times, similar to that produced by simTimes
.
simTs
, ts
, simTimes
, pfMLLik
truth=simTs(c(x1=50,x2=100),0,20,2,stepLVc)
simData=truth+rnorm(prod(dim(truth)),0,5)
timedData=as.timedData(simData)
print(timedData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.