extract: Similar to matrix and array '[' behavior, but allows for...

View source: R/utils.R

extractR Documentation

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


parttime documentation built on May 29, 2024, 6:25 a.m.