Learn R Programming

MachineShop (version 1.3.0)

extract: Extract Parts of an Object

Description

Operators acting on data structures to extract parts.

Usage

# S4 method for Resamples,ANY,ANY,ANY
[(x, i, j, drop = FALSE)

# S3 method for SurvMatrix [(x, i, j, drop = FALSE)

Arguments

x

object from which to extract elements.

i, j

indices specifying elements to extract.

drop

logical indicating that the result be returned as a numeric coerced to the lowest dimension possible if TRUE or retained as the original 2-dimensional object class otherwise.

See Also

resample

SurvMatrix