internal               package:Oarray               R Documentation

_I_n_t_e_r_n_a_l _f_u_n_c_t_i_o_n_s _f_o_r _p_a_c_k_a_g_e _O_a_r_r_a_y

_D_e_s_c_r_i_p_t_i_o_n:

     Internal functions for package Oarray.

_U_s_a_g_e:

     .handleTheOffset(mc, dim, offset, dn)
     as.array(x)
     as.array.default(x)

_A_r_g_u_m_e_n_t_s:

      mc: Index set

     dim: Dimensions of object

  offset: Offset for index set

      dn: Logical: drop if negative?

       x: Object passed into 'as.array'

_D_e_t_a_i_l_s:

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

_V_a_l_u_e:

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

_A_u_t_h_o_r(_s):

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

_E_x_a_m_p_l_e_s:

     #### nothing to run here

