summary.glmulti {glmulti} | R Documentation |
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.
# 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(), ...)
object |
|
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") |
... |
Further arguments. |
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.
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:
name |
the name of the analysis |
method |
The method used |
fitting |
The fitting function used |
crit |
The IC used |
level |
Whether interactions between predictors were considered or not |
marginality |
Whether the marginality rule was applied |
confsetsize |
The requested size of the confidence set |
bestic |
The lowest IC found |
icvalues |
The IC values of the models in the confidence set, from lower to greater |
bestmodel |
A list containing the formula of the best model found, or of the best models found if several had the same IC value |
termweights |
The 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. |
bestmodel |
A list containing the formula of the best model found, or of the best models found if several had the same IC value |
generations |
The number of generations it took to converge. For genetic algorithm only. |
elapsed |
The actual (system) time it took. For genetic algorithm only. |
Vincent Calcagno, McGill University