Learn R Programming

MachineShop (version 1.6.0)

extract: Extract Parts of an Object

Description

Operators acting on data structures to extract parts.

Usage

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

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

Arguments

x

SurvMatrix object or resample result 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.