combLevel: Combine Levels

Description Usage Arguments Value References Examples

View source: R/combLevel.R

Description

Generates all possible combinations of a given number of levels.

Usage

1

Arguments

n

An integer scalar, the number of levels.

Value

A matrix with n columns with one row for each possible combination of the n levels.

References

Based on a method posted to the Adamistics blog 1 March 2016 [link].

Examples

1
2

JVAdams/jvamisc documentation built on Aug. 11, 2021, 6:43 a.m.