perm: Produces the possible permutations of a set of variables

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

Produces the possible permutations of a set of variables

Usage

1
perm(max = rep(1, 2))

Arguments

max

A vector of integers indicating the maximum value of an integer value starting at 0. Defaults to 1. The number of permutation is defined by max's length

Value

A matrix of permutations

Examples

1
2
3
4
## Not run: 
perm(3)

## End(Not run)

lilymedina/gbiqqtools documentation built on Nov. 4, 2019, 4:32 p.m.