gen_samp_lev: For resampling from a single set of levels

Description Usage Arguments Value

View source: R/bootstrap_methods.R

Description

For resampling from a single set of levels

Usage

1
gen_samp_lev(levels, unique_lim = NULL, reduce_by_one = TRUE)

Arguments

levels

The levels to sample.

unique_lim

Default NULL; optionally a required number of unique elements to have in the sample

reduce_by_one

Logical, default TRUE; for greater coverage, resample one less than the number of levels in each list.

Value

A sample of levels; a vector.


glmmboot documentation built on June 28, 2021, 1:05 a.m.