allPossiblePermutations: perms

Description Usage Arguments Value See Also

View source: R/RcppExports.R

Description

This function generates all the possible permutations of the set 1, 2, ..., n (for some given n). A function removes missing values.

Usage

1

Arguments

x

a integer vector

Value

a matrix with n! rows and n columns

See Also

Other Exploratory: findMode


danielmarcelino/SciencesPo documentation built on Oct. 20, 2019, 1:15 a.m.