permuteN: Auxiliary function: generate all permutation orderings

View source: R/ivlike.R

permuteNR Documentation

Auxiliary function: generate all permutation orderings

Description

This function generates every permutation of the first n natural numbers.

Usage

permuteN(n)

Arguments

n

integer, the first n natural numbers one wishes to permute.

Value

a list of all the permutations of the first n natural numbers.


jkcshea/ivmte documentation built on Aug. 31, 2024, 6:44 p.m.