LogicReg (version 1.6.2)

plot.logregmodel: Plots for Logic Regression

Description

Makes plots for an object of class logregmodel fitted by logreg.

Usage

# S3 method for logregmodel
plot(x, pscript=FALSE, title=TRUE, nms, ...)

Arguments

x

object of class logregmodel, typically a part of an object of class logreg, which is the result of the function logreg.

pscript

if TRUE all plots will be stored in postscript files with distinct names.

title

if TRUE this generates a title for some plots, typically listing the number of trees and the model size.

nms

names of variables. If nms is provided variable names will be plotted, otherwise indices will be used.

...

graphical parameters can be given as arguments to plot.

Value

The fitted trees are plotted.

References

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.

Selected chapters from the dissertation of Ingo Ruczinski, available from http://kooperberg.fhcrc.org/logic/documents/ingophd-logic.pdf

See Also

logreg, logregmodel, plot.logreg, logreg.testdat

Examples

Run this code
# NOT RUN {
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)
# plot(logreg.savefit1)
plot(logreg.savefit1$model) # does the same
# }

Run the code above in your browser using DataLab