| glmulti-methods {glmulti} | R Documentation |
Methods for Function glmulti: different ways to call glmulti
Description
codeglmulti 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 aic).
The best models are found either through 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.
Methods
- y = "ANY", xr = "ANY", data = "ANY", exclude = "ANY"
This will stop with a warning that an improper call has been attempted.
- y = "character", xr = "character", data = "ANY", exclude = "ANY"
Calling
glmultiwith 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.- y = "character", xr = "missing", data = "ANY", exclude = "missing"
-
Calling
glmultiwith a model formula represented as a character string. E.g."u~c+x" - y = "formula", xr = "missing", data = "ANY", exclude = "missing"
-
Calling
glmultiwith a model formula containing all the terms to be included in candidate models. E.g.u~c+x - y = "list", xr = "ANY", data = "ANY", exclude = "ANY"
-
Calling
glmultion a list of (fitted) model objects. Models will not be refitted, but the information criteria will be computed and a regularglmultiobject is returned. - y = "glm", xr = "missing", data = "ANY", exclude = "missing"
-
Calling
glmultiwith aglmobject from which the formula and other parameters will be extracted. - y = "lm", xr = "missing", data = "ANY", exclude = "missing"
-
Calling
glmultion almobject from which the formula and other parameters will be extracted. - y = "missing", xr = "ANY", data = "ANY", exclude = "ANY"
-
If
yis missing theglmultiversion currently used is printed.