glmulti-methods {glmulti} | R Documentation |
code{glmulti} finds what are the n
best models (the confidence set of models) among all possible models (the candidate set, as specified by the user).
Models are fitted with the specified fitting function (default is glm
) and are ranked with the specified Information Criterion (default is aicc
).
The best models are found either through an exhaustive screening of the candidates or using a genetic algorithm, which allows very large candidate sets to be adressed.
The output can be used for model selection, variable selection, and multimodel inference.
glmulti
by providing the names of the response variable and of the predictors as
character strings. This is the original interface used in versions earlier than 0.6-1. glmulti
with a model formula represented as a character string. E.g. "u~c+x"
glmulti
with a model formula containing all the terms to be included in candidate models.
E.g. u~c+x
glmulti
with a glm
object from which the formula and other parameters will eb extracted. glmulti
with a lm
model from which the formula and other parameters will eb extracted.. y
is missing the glmulti
version currently used is printed.