predict.rpart!
See the worked examples in Venables & Ripley.
On Thu, 20 Jun 2002 nj7w@virginia.edu wrote:
> Hello,
>
> Is there any function similar to predict.tree in rpart?
> I have got the model from rpart, and now I wish to
> predict the classes of different samples using the result
> of training data.
>
> Thanks.
> Nitin
> -----------------------------------------------------------------
> Nitin Jain (njain@virginia.edu)
> PhD Student, UVa, BME
>
>
>
>
> --------------------------------------------------------------------
> This message was distributed by s-news@lists.biostat.wustl.edu. To
> unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> the BODY of the message: unsubscribe s-news
>
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
|