Indexing to extract subsets of a 'codeVirtualArray'-class object
Source:R/VirtualArray-subset.R
VirtualArray-single-bracket-method.Rd
Single bracket '['
refers to indices and names within the 'VirtualArray
'-class object. Use double brackets to extract layers based on their names (in the @stack
).
Arguments
- x
An object from a
VirtualArray
-derived class.- i
subscript of the first dimension(rows) or vector-like subsetting.
- j
subscript of the second dimension (columns).
- ...
subscript of additional dimensions.
- drop
logical
in case the result of subsetting is a single element, should theVirtualArray
-derived wrapper be dropped?