Description Usage Arguments References See Also Examples
Predict the node identification number from a fitted rpart
object.
1 | prednode(object, newdata)
|
object |
A fitted model object of class "rpart", the result of a call to the
|
newdata |
A data frame containing the values for which predictions will be made.
The predictors referred to in the right side of |
This function is a modification of an approach suggested in a post [link] to the R-help mailing list on 22 July 2008 by Brian D. Ripley [link], Professor of Applied Statistics, University of Oxford, Oxford, UK.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.