readCtreePaths: extract the terminal node paths from a conditional inference...

Description Usage Arguments Value Examples

Description

extract the terminal node paths from a conditional inference tree

Usage

1
readCtreePaths(ct, dts)

Arguments

ct

A ctree.

dts

A data.frame with the data that was the base for the ctree

Value

A data.frame with number of the terminal node and it's path

Examples

1
2
3
airq <- subset(airquality, !is.na(Ozone))
act <- party::ctree(Ozone ~ .,data = airq)
readCtreePaths(act, airq)

EmilRehnberg/party.readpaths documentation built on May 23, 2019, 10:32 p.m.