getResCov | R Documentation |
A function mostly for internal processing but can be used to extract the residual
covariance matrix. This matrix is the residual covariance matrix,
not the model covariance matrix used for estimation (see getModelCov
).
Options for averaging over degrees of freedom or number of
observations, plus standardization, are also available.
getResCov(fit, useDf = TRUE, standardize = FALSE)
fit |
Object from |
useDf |
Logical value for whether the degrees of freedom from the linear model fit should be used (if TRUE), as opposed to the number of observations (if FALSE). |
standardize |
Logical value for whether residuals should be standardized. If TRUE, a correlation matrix is produced. |
Michael Collyer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.