permutations {admisc} | R Documentation |
Calculates the permutations of a vector
Description
Generates all possible permutations of elements from a vector.
Usage
permutations(x)
Arguments
x |
Any kind of vector. |
Author(s)
Adrian Dusa
Examples
permutations(1:3)
[Package admisc version 0.35 Index]