Description Usage Arguments Author(s) Examples
This function estimates the optimal trichotomous classification tree
1 | TriCTree_tripart(formula = X1 ~ ., data, minleft = 20, minsplit = 5)
|
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 |
Yan Sun, Yanke Zhu, Tao Liu
1 2 3 | dataxx = simulate_normal(n=40, p=0.8)
dataxx1 = data.frame(dataxx[2*(1:400), ])
param = TriCTree_tripart(X1~., dataxx1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.