sdim: Subdimensions of an array

Description Usage Arguments Details Value

Description

Retireve or set the subdimension of an array.

Usage

1
2
3
sdim(x)

sdim(x, warn = TRUE) <- value

Arguments

x

A generalized array.

warn

Whether issue warning when some of subdimensions are invalid and get dropped.

value

A named list of numeric vectors indicating the subdivision of some of the dimensions. The value vill become, after validated, the attribute sdim. See '?garray'.

Details

Validation of subdimension is expensive because its consistency with dim need checking. Thus most of functions do not validate it. Operations of subdimension with functions discussed here are guaranteed to be always keeping the consistency.

Value

The subdimensions (a non-empty list) or NULL


garray documentation built on May 1, 2019, 8:47 p.m.