Description Usage Arguments Value See Also Examples
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.
1 | 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
.
1 2 3 4 |
x1 x2
0 48.39367 102.66662
2 157.24375 76.98150
4 217.99308 294.22029
6 59.72965 295.52493
8 56.92183 155.41241
10 110.29978 95.28715
12 169.10010 209.67349
14 108.97864 284.57007
16 70.55093 179.01139
18 120.03664 108.63848
20 220.01863 210.38255
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.