Learn R Programming

arf (version 0.2.4)

resample: Safer version of sample()

Description

Safer version of sample()

Usage

resample(x, ...)

Value

A vector of length size with elements drawn from x.

Arguments

x

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

...

Further arguments for sample().