sampler: Obtain bootstrap samples of an input dataset.

Description Usage Arguments Details Author(s)

View source: R/sampler.R

Description

Obtain bootstrap samples of an input dataset.

Usage

1
sampler(x, B)

Arguments

x

An input dataset.

B

The number of bootstrap replicates. Usually this will be a single positive integer.

Details

This a generic function for resampling with replacement and equal probability from an input dataset.

Author(s)

Natalie DelRocco


ndelrocco/lmBootCompare documentation built on Dec. 10, 2019, 12:38 p.m.