Description Usage Arguments Details Value See Also Examples
View source: R/nauf_freq_regs.R
The mixed effects regression functions nauf_lmer, nauf_glmer.nb,
and nauf_glmer fit linear, negative binomial, and other generalized
linear mixed effects models, respectively, impelementing
nauf_contrasts.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | nauf_glmer(formula, data = NULL, family = gaussian,
control = lme4::glmerControl(), start = NULL, verbose = 0L, nAGQ = 1L,
subset, weights, na.action = na.pass, offset, contrasts = NULL, mustart,
etastart, devFunOnly = FALSE, ncs_scale = attr(formula,
"standardized.scale"), ...)
nauf_lmer(formula, data = NULL, REML = TRUE,
control = lme4::lmerControl(), start = NULL, verbose = 0L, subset,
weights, na.action = na.pass, offset, contrasts = NULL,
devFunOnly = FALSE, ncs_scale = attr(formula, "standardized.scale"), ...)
nauf_glmer.nb(..., interval = log(th) + c(-3, 3), tol = 5e-05,
verbose = FALSE, nb.control = NULL, initCtrl = list(limit = 20, eps = 2
* tol, trace = verbose))
|
formula, data, subset, weights, offset, control, start, devFunOnly, verbose, REML, family, etastart, mustart, nAGQ, interval, tol, nb.control, initCtrl, ... |
See
|
na.action, contrasts |
Changes to the default values for these arguments
are ignored with a warning. See |
ncs_scale |
A positive number to be passed as the |
nauf_lmer, nauf_glmer, and nauf_glmer.nb are based on
the lme4 functions lmer, glmer,
and glmer.nb, respectively, but implement
nauf_contrasts. The nauf functions have all the same
arguments as the functions they are based on, but additionally
ncs_scale, which is passed to nauf_model.frame. Other
than ncs_scale, the arguments have the same functions as they do in
the functions they are based on. The default values for na.action and
contrasts cannot be changed (see nauf_model.frame).
A fitted model of class nauf.lmerMod
(nauf_lmer) or nauf.glmerMod (nauf_glmer
and nauf_glmer.nb).
nauf_contrasts for a description of the contrasts
applied to unordered factors; and lmer,
glmer, and glmer.nb for argument
definitions.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.