MAR | R Documentation |
The function MAR
is used for generating MAR model(s) for examples
of the functions SNSeg_Uni
, SNSeg_Multi
, and SNSeg_HD
.
MAR(n, reptime, rho)
n |
the size (length) of time series to be generated |
reptime |
the number of time series to be generated |
rho |
value of autocorrelation |
Returns a matrix of the simulated MAR processes. The number of columns
of this matrix is equivalent to the value of input argument reptime
, and
the number of rows is the value of input argument n
.
MAR(n = 1000, reptime = 2, rho = -0.7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.