In package tree, users can use predict(model,data,type="where") to find out which terminal node the observation belongs to. I can't seem to find a similar function in package rpart. Is there any way to find out the same information using rpart?
Thanks! Yin Luo [[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.