Rob Forsyth
2007-Sep-18 08:38 UTC
[R] Extracting variance-covariance matrix from nlme object
I want to extract the variance-covariance matrix of an nlme model of a dataset. The object is to pass this to mvrnorm to create pseudo- replicates of the original data. I note the nlme package has a getVarCov method available for lme objects but not nlme objects. Is the vcov function in the base stats package suitable? If so, why is the additional getVarCov provided? thank you Rob Forsyth
Maybe Matching Threads
- Accessing the fixed- and random-effects variance-covariance matrices of an nlme model
- nlme package, fixing variance.covariance matrix of residuals
- gls model and matrix operations
- Bug in getVarCov.gls method (PR#9752)
- Function nlme::lme in Ubuntu (but not Win or OS X): "Non-positive definite approximate variance-covariance"