gmData                 package:mimR                 R Documentation

_C_r_e_a_t_i_o_n _o_f _g_m_D_a_t_a _o_b_j_e_c_t_s

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

     Different methods for creation of gmData objects. Depending on
     taste gmData can be taken as meaning 'graphical model data' or
     'graphical meta data'

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

     gmData(name,  factor = rep(FALSE,
     length(name)), vallabels=NULL)
     as.gmData (data)
     description(x)
     "description<-"(tmp, value)
     latent(x)
     "latent<-"(tmp, value)
     vallabels(x)
     "vallabels<-"(tmp, value)
     observations(x)
     "observations<-"(tmp, value)

     "ordinal<-"(tmp, value)
     ordinal(x)

     "nominal<-"(tmp, value)
     nominal(x)

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

    name: ~~Describe 'name' here~~ 

  factor: ~~Describe 'factor' here~~ 

    data: a dataframe

       x: A gmData object

     tmp: A gmData object

   value: The value to entered into the object

vallabels: A list containing labels of the levels of the discrete
          variables (not currently used)

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

     A variety of data formats can be turned into gmData objects. See
     examples.

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

     A dataframe containing the link between the names in the dataframe
     and the names (and labels) and the coding of factors in MIM

_W_A_R_N_I_N_G:

     If only a subset of a dataframe is used, then it may be necessary
     to recode the levels of factors in the dataframe. Otherwise one
     can end up with slices of the table in MIM with no observations in
     it. The easiest way to recode the levels is to use the function
     'factor()', see examples below.

_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, Second
     Edition, Springer Verlag, 2000

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

     'mim.cmd'

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

