tukeyPermutes: Find permutations meeting Tukey criteria

Description Usage Arguments Value Examples

View source: R/tukey.R

Description

Find all 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 and limit=2.

Usage

1
tukeyPermutes(n = 5, limit = 2)

Arguments

n

permutations from 1 to n

limit

the maximum number of increases or decreases in a row

Value

a list of vectors containing valid permutations

Examples

1
2

vipor documentation built on May 29, 2017, 9:38 a.m.