summary.glmulti: Handling glmulti objects
Description
These standard S3 functions can be applied on glmulti to print a short report, obtain a more detailed summary,
or produce different types of graphics.Usage
# S3 summary method for class 'glmulti'
summary.glmulti(object, ...)
# S3 print method for class 'glmulti'
print.glmulti(x, ...)
# S3 plot method for class 'glmulti'
plot.glmulti(x, type="p", highlight=c(), ...)
Arguments
x
An object of class glmulti
type
The type of graph to be produced. One of "p", "w" or "s" (see below).
highlight
A list of terms to be highlighted in the graph. The models containing these terms are shown in yellow.
Example: c("a:b")
Value
plot can be used to have a graphical representation of the results. Three types are proposed:
type="p" plots the IC profile (the IC values form the best to the worst model). A horizontal line delineates
models that are less than 2 IC units away from the best model.
type="w" plots the normalized evidence weights of the models. A vertical line delineates models that sum um to 95
type="s" plots the relative importance of each term (main effects and interactions), across all models. Terms are sorted by type (categorical, quantitative, interactions, ...).
print prints a brief synthesis of the analysis (e.g. the best model found, its IC value and evidence weight...)
summary returns a list with more detailed elements:- namethe name of the analysis
- methodThe method used
- fittingThe fitting function used
- critThe IC used
- levelWhether interactions between predictors were considered or not
- marginalityWhether the marginality rule was applied
- confsetsizeThe requested size of the confidence set
- besticThe lowest IC found
- icvaluesThe IC values of the models in the confidence set, from lower to greater
- bestmodelA list containing the formula of the best model found, or of the best models found if several had the same IC value
- termweightsThe relative importance of each term included in the model, i.e. the sum of the relative weights of all models in which the term was found.
- bestmodelA list containing the formula of the best model found, or of the best models found if several had the same IC value
- generationsThe number of generations it took to converge. For genetic algorithm only.
- elapsedThe actual (system) time it took. For genetic algorithm only.
Details
The name of the returned object is the name of the first object passed, with "consensus-" prepended.
The params slot of the returned object is taken from the first object too.