Description Usage Arguments Value Examples
extract the terminal node paths from a conditional inference tree
1 | readCtreePaths(ct, dts)
|
ct |
A ctree. |
dts |
A data.frame with the data that was the base for the ctree |
A data.frame with number of the terminal node and it's path
1 2 3 | airq <- subset(airquality, !is.na(Ozone))
act <- party::ctree(Ozone ~ .,data = airq)
readCtreePaths(act, airq)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.