summary.BranchGLMVS {BranchGLM}R Documentation

Summary Method for BranchGLMVS Objects

Description

Summary method for BranchGLMVS objects.

Usage

## S3 method for class 'BranchGLMVS'
summary(object, ...)

Arguments

object

a BranchGLMVS object.

...

further arguments passed to or from other methods.

Value

An object of class summary.BranchGLMVS which is a list with the following components

results

a data.frame which has the metric values for the best models along with the sets of variables included in each model

VS

the supplied BranchGLMVS object

formulas

a list containing the formulas of the best models

metric

the metric used to perform variable selection

See Also

plot.summary.BranchGLMVS, coef.summary.BranchGLMVS, predict.summary.BranchGLMVS

Examples


Data <- iris
Fit <- BranchGLM(Sepal.Length ~ ., data = Data, family = "gaussian", link = "identity")

# Doing branch and bound selection 
VS <- VariableSelection(Fit, type = "branch and bound", metric = "BIC", 
bestmodels = 10, showprogress = FALSE)
VS

## Getting summary of the process
Summ <- summary(VS)
Summ

## Plotting the BIC of the best models
plot(Summ, type = "b")

## Plotting the variables in the best models
plot(Summ, ptype = "variables")

## Getting coefficients
coef(Summ)
 

[Package BranchGLM version 2.1.6 Index]