permutNO: Generate data with permutation-based approach ignoring...

View source: R/permutNO.R

permutNOR Documentation

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

ts=rep(c(1,1,1,1,1,0,0,0,0,0),15)
permutNO(ts)

ConNEcT documentation built on May 9, 2022, 9:05 a.m.