perms function

Permutation

Permutation

Gives all the permutations of the first integer numbers.

perms(n)

Arguments

  • n: Integer

Returns

  • 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.

Author(s)

Maria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it

Henk A.L. Kiers h.a.l.kiers@rug.nl

Paolo Giordani paolo.giordani@uniroma1.it

Examples

P <- perms(4)
  • Maintainer: Paolo Giordani
  • License: GPL (>= 2)
  • Last published: 2015-09-07

Useful links