Learn R Programming

SYNCSA (version 1.3.4)

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

n

The length of vector.

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.

See Also

syncsa, permut.row.matrix