bootstrap_balanced: Generate balanced bootstrap replicates

Description Usage Arguments References See Also Examples

View source: R/bootstrap_balanced.R

Description

A balanced bootstrap generates times replicates in which each element appears times times.

Usage

1
bootstrap_balanced(n, times = 1L)

Arguments

n

A positive, scalar integer representing the number of observations (items to choose from).

times

A positive, scalar integer representing the number of bootstrap samples to draw.

References

See Also

The boot function boot::boot() which is the canonical R bootstrap implementation.

Examples

1

jrnold/ramsleep documentation built on May 29, 2019, 11:43 a.m.