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.

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

     Chambers, J. M. and Hastie, T. J. (1992) _Statistical Models in
     S_. Wadsworth & Brooks/Cole.

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

     'predict.lm'.

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

     ## All the "predict" methods visible in your current search() path.
     ## NB most of the methods in the base packages are hidden.
     for(fn in methods("predict"))
        try(cat(fn,":\n\t",deparse(args(get(fn))),"\n"), silent = TRUE)

