stratSample: Sample stratified indices according to a factor variable

View source: R/bootstrap.R

stratSampleR Documentation

Sample stratified indices according to a factor variable

Description

Sample stratified indices according to a factor variable

Usage

stratSample(f)

Arguments

f

A factor variable

Value

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


MFPCA documentation built on Sept. 15, 2022, 9:07 a.m.