permuteN {ivmte}R 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.


[Package ivmte version 1.4.0 Index]