gen.mixture            package:AlgDesign            R Documentation

_G_e_n_e_r_a_t_e _m_i_x_t_u_r_e

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

     Creates a candidate list of mixture variables.

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

     gen.mixture(levels,vars)

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

  levels: An integer greater than 1. The number of levels of the
          mixture variables.

    vars: Either the number of variables, or a character vector of
          variable names.

_D_e_t_a_i_l_s:

     Similar in function to gen.factorial(), but for mixture variables
     such that the rows sum to unity. For 'levels=2', the identity
     matrix is produced, so that each variable is either 0 or 1. For 
     'levels=3', rows are added to the identity containing two
     variables at 1/2 and the others at 0. etc.

     In general, a mixture model of degree d will have the same number
     of terms as the candidate list generated by 'gen.mixture' for
     'levels=d+1', and this will be optimal.

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

     Bob Wheeler bwheeler@echip.com

     Please cite this program as follows:

     Wheeler, R.E. (2004). gen.mixture. _AlgDesign_. The R project for
     statistical computing <URL: http://www.r-project.org/>

