Description Usage Arguments Details Value
A pure R
implementation of the penalized iteratively
reweighted least squares (PIRLS) algorithm for computing
generalized linear mixed model deviances. The purpose is to
clarify how PIRLS works without having to read through C++
code, and as a sandbox for trying out modified versions of
PIRLS.
1 2 3 |
glmod |
output of |
y |
response |
eta |
linear predictor |
family |
a |
weights |
prior weights |
offset |
offset |
tol |
convergence tolerance |
npirls |
maximum number of iterations |
nAGQ |
either 0 (PIRLS for |
verbose |
verbose |
pirls1
is a convenience function for optimizing
pirls
under nAGQ = 1
. In particular, it wraps
theta
and beta
into a single argument
thetabeta
.
A function for evaluating the GLMM Laplace approximated deviance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.