rleDiff-class             package:Matrix             R Documentation

_C_l_a_s_s "_r_l_e_D_i_f_f" _o_f  _r_l_e(_d_i_f_f(.))  _S_t_o_r_e_d _V_e_c_t_o_r_s

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

     Class '"rleDiff"' is for compactly storing long vectors which
     mainly consist of _linear_ stretches.  For such a vector 'x',
     'diff(x)' consists of _constant_ stretches and is hence well
     compressable via 'rle()'.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("rleDiff", ...)'.

     Currently experimental, see below.

_S_l_o_t_s:


     '_f_i_r_s_t': A single number (of class '"numIndex"' which is currently
          the same as '"numeric"').

     '_r_l_e': Object of class '"rle"', basically a 'list' with components
          '"lengths"' and '"values"', see 'rle'.

_M_e_t_h_o_d_s:

     No methods defined with class "rleDiff" in the signature.

_N_o_t_e:

     This is currently an _experimental_ auxiliary class for the class
     'abIndex', see there.

_S_e_e _A_l_s_o:

     'rle', 'abIndex'.

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

     showClass("rleDiff")

