generatePermuteString: Generate a permutation string meeting Tukey criteria

Description Usage Arguments Value Examples

View source: R/tukey.R

Description

Find a random string of concatenated permutations of 1:n fulfilling Tukey's criteria that there are no runs of 3 or more increases or decreases in a row. Tukey just uses the default n=5.

Usage

1
generatePermuteString(nReps = 20, n = 5)

Arguments

nReps

number of permutations to concatenate

n

permutations from 1 to n

Value

a vector of nReps*n integers giving concatenated permutations

Examples

1
2

vipor documentation built on May 1, 2019, 7:06 p.m.