internal {Oarray} | R Documentation |
Internal functions for package Oarray.
.handleTheOffset(mc, dim, offset, dn)
mc |
Index set |
dim |
Dimensions of object |
offset |
Offset for index set |
dn |
Logical: drop if negative? |
For versions <2.8.0
, the base function as.array
is
redefined as generic to allow it to have method Oarray
.
.handleTheOffset
is the workhorse function that is called by
the subsetting functions [.Oarray
and [<-.Oarray
.
.handleTheOffset
returns an object with indices in the original values (ie with offset one) to be evaluated.
as.array.default
is simply as.array
from the base.
Jonathan Rougier, j.c.rougier@bristol.ac.uk
#### nothing to run here