R: Generate a permutation string meeting Tukey criteria

generatePermuteString {vipor} | R Documentation

## Generate a permutation string meeting Tukey criteria

### 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

    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

    tukeyPermutes()
    tukeyPermutes(6,3)

[Package vipor version 0.4.5 Index]