Hello everyone, 

I just completed a recursive pratitionning analysis, using rpart, and have a 
beautiful tree with 6 terminal nodes. Each terminal node containing a precise 
number of patients (it's a clinical study), I'd like to create a new variable 
informing in which terminal node are locating all the patients. 

More clearly maybe : patient 1: node 5; patient 2 : node 3; patient 3 : node 6, 
etc... 

I thank you already for your answers 

Jeremy
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to