I'm running a multiple linear regression with the lm()
function and I would like to get the covariance matrix of the estimated coefficients. How can I do that?
Here Covariance (or correlation) matrix of coefficients in lme there is an answer for the lme()
function and I was wondering if the same can be done for the lm()
.
Thanks!