I would like to create a list of factor levels represented by elements of letters shown in an rpart plot. It seems that the order of levels for a factor are different than the alphabetized order returned a simple list command, e.g., rpartModel$factor_name. I was also wondering how best to model factors with many levels, or does the classification algorithm already subset these? I was thinking of thresholding observations on some minimum count for each level.

______________________________________________
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