Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

generatePermuteString

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)

vipor

Plot Categorical Data Using Quasirandom Noise and Density Estimates

v0.4.5
GPL (>= 2)
Authors
Scott Sherrill-Mix, Erik Clarke
Initial release
2017-03-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.