Message-ID: <a7dfb6b1-1ff8-4571-872e-df507941cc56@o31g2000vbi.googlegroups.com>
Date: 2009-11-30T15:21:46Z
From: Diego Bellisai
Subject: rpart: how to assign observations to nodes in regression trees
Hi,
I am building a regression tree (method=anova) by using rpart package
and as a final result I get the final leaves characterized by
different means and standard deviations for the dependent variable.
However, differently from the classification tree for categorical
variables I cannot find a way to assign each observation to a leaf,
i.e. I can find no frame whcih contains the observation id coupled to
the leaf id. I also cannot found where the leaves id are stored.
Is there someone which can help me?
Regards, Diego.