TriCTree_tripart: The main function of the TriCTree package

Description Usage Arguments Author(s) Examples

Description

This function estimates the optimal trichotomous classification tree

Usage

1
TriCTree_tripart(formula = X1 ~ ., data, minleft = 20, minsplit = 5)

Arguments

formula

A formula of format Y ~ X1 + X2 + ..., where Y needs to be binary values 0 or 1, and X1, X2, ... are predictor names in the data

data

A training dataset for estimating the trichotomous classification tree

minleft

Threshold for making a split on the remaining data to be classified; default minleft = 20

minsplit

Threshold for making a split on the suspended data, default minsplit = 5

Author(s)

Yan Sun, Yanke Zhu, Tao Liu

Examples

1
2
3
dataxx = simulate_normal(n=40, p=0.8)
dataxx1 = data.frame(dataxx[2*(1:400), ])
param = TriCTree_tripart(X1~., dataxx1)

taotliu/TriCTree documentation built on July 5, 2020, 12:04 p.m.