

   predict {base}                               R Documentation

   MMooddeell PPrreeddiiccttiioonnss

   DDeessccrriippttiioon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Ussaaggee::

        predict (object, ...)

   AArrgguummeennttss::

     object: a model object for which prediction is desired.

        ...: additional arguments affecting the predictions
             produced.

   VVaalluue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Seeee AAllssoo::

        `predict.lm'.

   EExxaammpplleess::

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

