Returns the residuals of a linear model of class 'mvgls'.
# S3 method for mvgls
residuals(object, type, ...)
A matrix with the residuals for the linear model fitted by mvgls
or mvols
.
an object of class 'mvgls' obtained from a mvgls
or mvols
fit.
an optional character string specifying the type of residuals to be used. To match conventions used in the nlme package: if "response
", the "raw" residuals (observed-fitted) are used; else, if "normalized", the normalized residuals (the residuals pre-multiplied by the inverse square-root factor of the estimated (between observations) covariance matrix) are used. Note however that there is still between variables correlations with both types.
other arguments for this generic function (not used).
J. Clavel
vcov.mvgls
residuals.mvgls
coef.mvgls
mvgls
mvols