| print.logregtree {LogicReg} | R Documentation |
Prints formulas for objects fitted by logreg.
## S3 method for class 'logregtree' print(x, nms, notnms, pstyle, ...)
x |
object of class |
nms |
names of variables. If |
notnms |
names of complements of the variables. If
|
pstyle |
parenthesis style. If |
... |
other options are ignored |
A text representation of the tree will be printed.
Ingo Ruczinski ingo@jhu.edu and Charles Kooperberg clk@fredhutch.org.
Ruczinski I, Kooperberg C, LeBlanc ML (2003). Logic Regression, Journal of Computational and Graphical Statistics, 12, 475-511.
Ruczinski I, Kooperberg C, LeBlanc ML (2002). Logic Regression - methods and software. Proceedings of the MSRI workshop on Nonlinear Estimation and Classification (Eds: D. Denison, M. Hansen, C. Holmes, B. Mallick, B. Yu), Springer: New York, 333-344.
logreg,
logregtree,
print.logreg,
print.logregmodel,
logreg.testdat
data(logreg.savefit1) # # myanneal <- logreg.anneal.control(start = -1, end = -4, iter = 25000, update = 1000) # logreg.savefit1 <- logreg(resp = logreg.testdat[,1], bin=logreg.testdat[, 2:21], # type = 2, select = 1, ntrees = 2, anneal.control = myanneal) print(logreg.savefit1$model$trees[[1]])