Learn R Programming

R2GUESS (version 2.0)

summary.ESS: summary method for class ESS

Description

Summary method for ESS objects.

Usage

# S3 method for ESS
summary (object, ...)

Arguments

object

an object of class ESS.

...

integer indicating the number of best models to be summarized.

Value

The function summary returns a data frame containing the following fields describing all of the best models according to:

Rank

the rank of the model according to its posterior probability.

nVisits

the number of times the model has been visited during the run (including the burn-in).

FirstVisit

the iteration at which the model was first visited.

nEvalBefore1st

the number of iteration before the first visit of the model.

ModeSize

the number of variables in the model.

logCondPost

the log posterior probability (integrated over the shrinkage factor g).

postProb

the posterior probability of the model.

jeffrey

the Jeffrey's scale for the model.

modelName

the list of variables (predictors) included in the model.

Details

summary method for the ESS class. It returns a summary of the x object including the list of the best models visited

Examples

Run this code
# NOT RUN {
# load an ESS object
modelY_Hopx <- example.as.ESS.object()
summary(modelY_Hopx,20)
# }

Run the code above in your browser using DataLab