returnValues              package:mimR              R Documentation

_R_e_t_u_r_n _f_i_t_t_e_d _a_n_d _o_b_s_e_r_v_e_d _v_a_l_u_e_s

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

     Returns fitted and observed values together with deviance etc. for
     MIM model objects

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

     returnValues(object, type = "fitted", marginal = NULL)

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

  object: A mim model object

    type: Can be either "fitted", "observed", "deviance" or "pearson"
          (the two latter only for discrete models)

marginal: A subset of the variables of the model

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

     A vector

_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

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

