spl: Sample data frame or vector.

Description Usage Arguments Value Examples

Description

Uniform random sample from the input.

Usage

1
spl(x, n = 10, return.index = FALSE)

Arguments

x

Vector to be covnerted to numeric.

n

Strings to consider NA.

return.index

Return just the sample index, not the actual data.

Value

Sampled data.

Examples

1
2
spl( cars )
spl( cars$speed )

superchordate/bc documentation built on June 20, 2019, 4:05 p.m.