subset.array: Subset an Array in one Dimension

subset.arrayR Documentation

Subset an Array in one Dimension

Description

Subset an Array in one Dimension

Usage

## S3 method for class 'array'
subset(x, dim, i, drop = FALSE)

Arguments

x

an array.

dim

an integer specifying the dimension to subset.

i

subset index, see [.

drop

logical indicating if singular dimensions should be dropped, see [.

See Also

the more general function extract.array in package R.utils

Examples

hhh4contacts:::subset.array(counts, 1, 4:7)

hhh4contacts documentation built on Oct. 8, 2024, 1:08 a.m.