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'

