I am trying to use the CART in a survival analysis. I have three variables of 
interest (all 3 ordinal - x, y and z, each of them with 5 categories) from 
which I want to make smaller groups (just an example 1st category from X 
variable with the 2nd and 3rd categories from the Y category and 2, 3 and 4 
categories from the Z category etc) based on their, let's say, association with 
mortality.
Now I would also want that this analysis to be adjusted for a number of 
variables (that I don't want to incorporate in the decision tree, just to take 
them into consideration in the relationship between the 3 variables and the 
outcome; I would also want to mention that for this confounders I have missing 
values - how should this be deal with?), this survival analysis to be 
stratified and also to use clusters.
I have tried party and rpart packages, but I don't seem to get how to properly 
do what I want.
Thank you

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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