Hello,
predict.rpart(name of rpart model, newdata=...) is a function similar to
predict.tree.
Regards,
Marion Verduijn
University of Amsterdam.
-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu]On Behalf Of
nj7w@virginia.edu
Sent: Thursday, June 20, 2002 3:26 PM
To: S-news@wubios.wustl.edu
Subject: [S] predict rpart
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
|