Learn R Programming

parttime (version 0.1.2)

extract: Similar to matrix and array [ behavior, but allows for providing a numeric vector of dimensions to drop

Description

Similar to matrix and array [ behavior, but allows for providing a numeric vector of dimensions to drop

Usage

extract(x, ..., drop = TRUE, envir = parent.frame())

Arguments

x

array or matrix to extract from

...

pased to [

drop

whether to drop dimensions, a logical or numeric vector of dimensions to drop

envir

environment in which to evaluate [ call