resample: Safer version of sample()

View source: R/utils.R

resampleR Documentation

Safer version of sample()

Description

Safer version of sample()

Usage

resample(x, ...)

Arguments

x

A vector of one or more elements from which to choose.

...

Further arguments for sample().

Value

A vector of length size with elements drawn from x.


arf documentation built on Sept. 21, 2026, 5:06 p.m.