subset.array: Subset an Array in one Dimension

Description Usage Arguments See Also Examples

View source: R/aggregateCountsArray.R

Description

Subset an Array in one Dimension

Usage

1
2
## 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

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

hhh4contacts documentation built on July 4, 2017, 9:44 a.m.