Predict              package:modeltools              R Documentation

_M_o_d_e_l _P_r_e_d_i_c_t_i_o_n_s

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

     A function for predictions from the results of various model 
     fitting functions.

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

     Predict(object, ...)

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

  object: a model object for which prediction is desired. 

     ...: additional arguments affecting the predictions produced. 

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

     A somewhat improved version of 'predict' for models fitted with
     objects of class 'StatModel-class'.

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

     Should return a vector of the same type as the response variable
     specified for fitting 'object'.

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

     df <- data.frame(x = runif(10), y = rnorm(10))
     mf <- dpp(linearModel, y ~ x, data = df)
     Predict(fit(linearModel, mf))

