Updates the mean vector \(\mu\) given the linear predictor \(\gamma\). Evaluate the residuals and the weighted sum of squared residuals.
updateMu(respM, gamma, ...)
updated respM
a response module, see the
respModule
class.
the value of the linear predictor before adding the offset
potentially further arguments used in methods; not used currently.
signature(respM = "glmRespMod", gamma = "numeric")
..
signature(respM = "nglmRespMod", gamma = "numeric")
..
signature(respM = "nlsRespMod", gamma = "numeric")
..
signature(respM = "respModule", gamma = "numeric")
..
Note that the offset is added to the linear predictor before calculating mu.
The sqrtXwt matrix can be updated but the sqrtrwt should not be in that the weighted sum of squared residuals should be calculated relative to fixed weights. Reweighting is done in a separate call.
The respModule
class (and specific subclasses);
glm4
.