nthOrderModel              package:mimR              R Documentation

_C_r_e_a_t_e _g_e_n_e_r_a_t_i_n_g _c_l_a_s_s _w_i_t_h _n_t_h _o_r_d_e_r _i_n_t_e_r_a_c_t_i_o_n_s _f_o_r _l_o_g-_l_i_n_e_a_r _m_o_d_e_l

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

     Creates  generating class with nth order interactions for
     log-linear model

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

     nthOrderModel(variables, order = 2)

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

variables: A vector of variables

   order: The maximum order of interactions in the model

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

     A string

_N_o_t_e:

     Before using mimR, make sure that the MIM program is runnning.

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

     Sren Hjsgaard, sorenh@agrsci.dk

_R_e_f_e_r_e_n_c_e_s:

     David Edwards, An Introduction to Graphical Modelling, Springer
     Verlag, 2002

_E_x_a_m_p_l_e_s:

     nthOrderModel(c("ss","uu","ii"), 2)

