fastGrid            package:GeneticsBase            R Documentation

_C_r_e_a_t_e _a _m_a_t_r_i_x _g_i_v_i_n_g _a_l_l _c_o_m_b_i_n_a_t_i_o_n_s _o_f _t_h_e _e_l_e_m_e_n_t_s _o_f _x

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

     Create a matrix giving all combinations of the elements of x

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

     fastGrid(x)

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

       x: a vector

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

     a matrix of the same mode as x, with dimension c(length(x)\^2, 2).
      The rows give all points on a square lattice formed by pairing
     every element of x with every element of x.  Here, order matters -
     that is, (1, 2) and (2, 1) both would be included - and points
     with an element taken twice - e.g. (1, 1) - also are included.

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

     Scott Chasalow Scott.Chasalow@bms.com

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

     'geneSet-class'

