ch.permute: Permutation Function

View source: R/chUtils.r

ch.permuteR Documentation

Permutation Function

Description

This function creates all the permutations of all the items from 1-n

Usage

ch.permute(n)

Arguments

n

the total number of items.

Value

a matrix of all the possible permutations of n items

Examples

ch.permute (4)

ccpluncw/ccpl_R_chutils documentation built on Feb. 28, 2024, 1:17 a.m.