sdim {garray} | R Documentation |
Subdimensions of an array
Description
Retireve or set the subdimension of an array.
Usage
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
[Package garray version 1.1.2 Index]