permut.vector: Permutate a vector
Description
Internal function to permutate a vector of size n using the function shuffleSet
.
Usage
permut.vector(n, strata = NULL, nset = 999)
Arguments
strata
A vector to specify restricting permutations.
nset
The number of permutations to generate for the set (Default strata = NULL).
Value
A matrix of permutations, where each row is a separate permutation.