maNum2Logic          package:marrayClasses          R Documentation

_C_o_n_v_e_r_t _a _n_u_m_e_r_i_c _v_e_c_t_o_r _o_f _i_n_d_i_c_e_s _t_o _a _l_o_g_i_c_a_l _v_e_c_t_o_r

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

     This function converts a numeric vector of indices to a logical
     vector. It is used for subsetting purposes.

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

     maNum2Logic(n=length(subset), subset=TRUE)

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

       n: the length of the logical vector to be produced.

  subset: a numeric vector of indices. A logical vector may also be
          supplied, in which case it is also the value of the function.

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

     a logical vector.

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

     Sandrine Dudoit, <URL: http://www.stat.berkeley.edu/~sandrine>.

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

     maNum2Logic(10, 1:3)

