plot form a LMM plot with mmes
plot_mmes.Rdplot method for class "mmes".
Usage
# S3 method for class 'mmes'
plot(x,stnd=TRUE, ...)Arguments
- x
an object of class
"mmes"- stnd
if
TRUE, residuals are studentized, i.e. divided by the square root of their conditional variancediag(R - W Ci t(W)), which holds for any residual structureR(weights,W, heterogeneous, structured or multi-trait). IfFALSE, raw residuals are shown.- ...
Further arguments to be passed
Details
Four panels are drawn: residuals vs fitted values, normal Q-Q, scale-location and
residuals vs leverage. Leverage is diag(W Ci t(W) solve(R)) with W=[X Z].
Ci comes from postPEV when the fit did not store it (the
default), so no direct inversion of the coefficient matrix is done. The
Henderson and direct engines are supported, as well as Gaussian nonlinear curve
fits with additive random effects (linearized at the solution). GLMM/Laplace,
rotated, non-Gaussian nonlinear and joint or random-curve nonlinear fits are
not supported and give an error. Non-scalar residual structures build a dense
n x n residual covariance, which is limited by the memory setting.
Author
Giovanny Covarrubias covarrubiasp@wisc.edu