Dear community, I've a tree which included at first 23 variables. Then I've pruned this tree, and there are only 8 variables involved.
I'd like to predict and only introduce in newdata the values of these 8 variables involved. However, as the tree was built with the 23, it asked me for 15 values, even if it doesn't need them. Is there a way to introduce only this 8 values? Thanks in advance, show crossp...@hotmail.com as u...@host.com -- View this message in context: http://r.789695.n4.nabble.com/predict-rpart-newdata-introduce-only-values-variables-used-in-the-tree-tp4642145.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.