modelNO | R Documentation |
This function generates a new time serie that is similar to the original one in relative frequency, but not in auto-dependence by drawing from a Bernoulli distribution with the relative frequency as parameter.
modelNO(vec)
vec |
Time series vector |
Time series vector that is similar to the original one considering relative frequency
ts=rep(c(1,1,1,1,1,0,0,0,0,0),15) modelNO(ts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.