[R] rpart: apply tree to new data to get "counts"

Jay josip.2000 at gmail.com
Mon Aug 29 18:49:46 CEST 2011


Hi,

when I have made a decision tree with rpart, is it possible to "apply"
this tree to a new set of data in order to find out the distribution
of observations? Ideally I would like to plot my original tree, with
the counts (at each node) of the new data.


Reagards,
Jay



More information about the R-help mailing list