getnodesfromrules: Function to get terminal node from a set of partitioning...

Description Usage Arguments Value Examples

View source: R/SDPSyn.R

Description

Function to get terminal node from a set of partitioning rules and new predictors

Usage

1

Arguments

x

a dataframe of predictors

Rules

a data frame containing 2 character variables: "terminalnode" and "condition"

Value

a vector of lenth the number of rows of x indicating the terminal nodes.

Examples

1
getnodesfromrules(x=iris[1:3,-5],Rules=fitmodel.ctree(x=iris[,-5],y=iris$Species)$Rules)

DanielBonnery/BigSyn documentation built on June 28, 2020, 7:18 p.m.