permutNO {ConNEcT} | R Documentation |
This function generates a new time serie with exactly the same relative frequency as the original one, but with a lower auto-dependence by shuffeling all time points.
permutNO(vec)
vec |
Time series vector |
Time series vector with exactly the same relative frequency as the original vector
ts=rep(c(1,1,1,1,1,0,0,0,0,0),15)
permutNO(ts)