Learn R Programming

sglOptim (version 1.3.8)

subsample: Subsample

Description

Pick out a subsample of an object

Usage

subsample(data, indices, ...)

Arguments

data

a data object

indices

a vector of indices to pick out

...

not used

Value

a data object of the same class as data