It sounds to me like you're looking for the function predict.rpart().
Hope this helps,
Stephen
On Sep 9, 2005, at 8:45 AM, João Mendes Moreira wrote:
Dear mailinglist members,
I have the following problem: I run a decision tree using the rpart
function and, afterwords, I try to find to
Dear mailinglist members,
I have the following problem: I run a decision tree using the rpart function
and, afterwords, I try to find to which leaf node a new register (not used to
build the decision tree) belongs to.
I will try to explain better:
rpart.tree - rpart(target.value ~., data)