Learn R Programming

MFPCA (version 1.3-10)

stratSample: Sample stratified indices according to a factor variable

Description

Sample stratified indices according to a factor variable

Usage

stratSample(f)

Value

A vector of the same length as f, containing the resampled indices, stratified according to the levels of f

Arguments

f

A factor variable