predict                 package:base                 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:

     `predict' is a generic function for predictions from the results
     of various model fitting functions.  The function invokes
     particular methods which depend on the `class' of the first
     argument.

     The function `predict.lm' makes predictions based on the results
     produced by `lm'.

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

_V_a_l_u_e:

     The form of the value returned by `predict' depends on the class
     of its argument.  See the documentation of the particular methods
     for details of what is produced by that method.

_S_e_e _A_l_s_o:

     `predict.lm'.

_E_x_a_m_p_l_e_s:

     ## All the "predict" methods available in your current search() path:
     for(fn in methods("predict"))
        cat(fn,":\n\t",deparse(args(get(fn))),"\n")

