Usage
dredge(global.model, beta = FALSE, eval = TRUE, rank = "AICc",
fixed = NULL, m.max = NA, subset, marg.ex = NULL, trace = FALSE,
...)## S3 method for class 'model.selection':
print(x, abbrev.names = TRUE, ...)
Arguments
global.model
a fitted global model object. Currently, it can
be a lm
, glm
, rlm
, multinom
, gam
,
gls
, lme
, lmer
, sarlm
or spauto
beta
logical should standardized coefficients be returned rather than
normal ones?
eval
whether to evaluate and rank the models. If FALSE, a list of all
possible model formulas is returned
rank
optional custom rank function (information criterion) to be used
instead AICc, e.g. QAIC
or BIC
, See Details
fixed
optional, either a single sided formula or a character vector
giving names of terms to be included in all models
m.max
optional, maximum number of terms to be included in single model,
defaults to the number of terms in global.model
subset
logical expression to put additional constraints for the set of models. Can
contain any of the global.model
terms. Run
getAllTerms(global.model)
to list all the terms. Complex expressions
(e.g smooth functions in
marg.ex
a character vector specyfying names of variables for which NOT to check for
marginality restrictions when generating model formulas. If this argument is
set to TRUE, all model formulas are used (i.e. no checking). See
Details.
trace
if TRUE, all calls to the fitting function (i.e. updated global.model
calls) are printed.
x
a model.selection
object, returned by dredge
.
abbrev.names
Should variable names be abbreviated when printing? (useful with many
variables)
...
optional arguments for the rank
function. Any can be
an expression (of mode call
), in which case any x
within it
will be substituted with a current model.