Rdocumentation
powered by
Learn R Programming
ThreeWay (version 1.1.3)
perms: Permutation
Description
Gives all the permutations of the first integer numbers.
Usage
perms(n)
Arguments
n
Integer
Value
z
Matrix containing in its rows all the permutation of the first
n
integer numbers
References
H.A.L. Kiers (2004). Bootstrap confidence intervals for three-way methods.
Journal of Chemometrics 18:22--36
.
Examples
Run this code
P <- perms(
4
)
Run the code above in your browser using
DataLab