rand_ts | R Documentation |
Create random time series with normal distribution
rand_ts(m = 20, n = 1, as_ret = F, method = c("matrix", "xts", "data.frame"))
m |
num of samples |
n |
num of series |
as_ret |
TRUE for returns, FALSE for values |
method |
output class: matrix, data.frame or xts. |
matrix, data.frame or xts
rand_ts(20,2)
rand_ts(20,3,as_ret=TRUE,method="xts")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.