internal {Oarray}R Documentation

Internal functions for package Oarray

Description

Internal functions for package Oarray.

Usage

.handleTheOffset(mc, dim, offset, dn)

Arguments

mc Index set
dim Dimensions of object
offset Offset for index set
dn Logical: drop if negative?

Details

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.

Value

.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.

Author(s)

Jonathan Rougier, j.c.rougier@bristol.ac.uk

Examples

#### nothing to run here

[Package Oarray version 1.4-2 Index]