modelNO {ConNEcT} | 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)