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)

