bestCombination     package:surveillance     R Documentation(latin1)

_P_a_r_t_i_t_i_o_n _o_f _a _n_u_m_b_e_r _i_n_t_o _t_w_o _f_a_c_t_o_r_s

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

     Given a prime number factorization 'x', 'best combination'
     partitions 'x' into two groups, such that the product of the
     numbers in group one is as similar as possible to the product of
     the numbers of group two. This is useful in magic.dim

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

           bestCombination(x)

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

       x: prime number factorization

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

     Returns a vector c(prod(set1),prod(set2))

