cpermute: Produces a permutation of integers 1:length(vec) such that...

Description Usage Arguments Value

Description

Produces a permutation of integers 1:length(vec) such that the permutation leaves vec unchanged, i.e., the permutations are within class labes defined by vec.

Usage

1

Arguments

vec

Vector defining the permutations

replace

Should the sampling be with or without replacement. Default is FALSE.

Value

A permutation.


bwrc/astrid-r documentation built on May 13, 2019, 9:08 a.m.