Learn R Programming

ConNEcT (version 0.7.27)

permutNO: Generate data with permutation-based approach ignoring auto-dependence

Description

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.

Usage

permutNO(vec)

Arguments

vec

Time series vector

Value

Time series vector with exactly the same relative frequency as the original vector

Examples

Run this code
# NOT RUN {
ts=rep(c(1,1,1,1,1,0,0,0,0,0),15)
permutNO(ts)
# }

Run the code above in your browser using DataLab