plotBestglm: All-subsets logistic regression

Description Usage Arguments Value See Also Examples

Description

Plots the output of the bestglm BestModels object. Similar to the visual output of plotting a regsubsets object

Usage

1
plotBestglm(bglm, rc = 2)

Arguments

bglm

bestglm object from bestglm

rc

decimal places to display on y-axis of plot

Value

plot

See Also

bestglm, leaps

Examples

1
2
3
require('bestglm')
b <- bestglm(Xy=mtcars[,c('mpg', 'hp', 'drat', 'cyl', 'wt', 'qsec', 'vs')], family=binomial(logit), IC='BIC', nvmax=4)
plotBestglm(b$BestModels, rc=3)

brooksandrew/Rsenal documentation built on May 13, 2019, 7:50 a.m.