allperms

0th

Percentile

All permutations of a given size

Returns all n factorial permutations of a set

Usage
allperms(n)
Arguments
n

The size of the set, integer

Details

The function is very basic (the idiom is word(t(partitions::perms(n)))) but is here for completeness.

Aliases
  • allperms
Examples
# NOT RUN {
as.cycle(allperms(5))
# }
Documentation reproduced from package permutations, version 1.0-5, License: GPL-2

Community examples

Looks like there are no examples yet.