getsubsets: Sample a number of samples by factor levels

Description Usage Arguments Details

View source: R/getsubsets.R

Description

Sample a number of samples by factor levels

Usage

1
getsubsets(f, n = 100, sel = NULL, verbose = FALSE)

Arguments

f

a factor

n

sample size. If n < 1, then n will be treated as fraction rather than number

sel

which factor levels to choose from. Default: NULL, meaning every factor level

Details

Sample a number of samples by factor levels.


january3/myfuncs documentation built on April 1, 2020, 4:42 a.m.