permuteN: Auxiliary function: generate all permutation orderings

Description Usage Arguments Value

View source: R/ivlike.R

Description

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

Usage

1

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.


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.