vcov.mvgls: Calculate variance-covariance matrix for a fitted object of...

View source: R/classes_methods.r

vcovR Documentation

Calculate variance-covariance matrix for a fitted object of class 'mvgls'

Description

Returns the variance-covariance matrix of the coefficients or the traits.

Usage


## S3 method for class 'mvgls'
vcov(object, ...)

Arguments

object

an object of class 'mvgls' obtained from a mvgls or mvols fit.

...

additional arguments for methods function. See details below.

Details

The vcov function returns by default the variance-covariance matrix of the main parameters of a fitted model object. The main parameters are the coefficients (this correspond to the argument type="coef"; see also coef.mvgls). With type="covariance", the vcov.mvgls function returns the estimated traits covariance matrix (possibly regularized for PL approaches) while type="precision" return the precision matrix (i.e. the inverse of the covariance).

Value

A matrix of the estimated covariances between the parameter estimates (of type "coef", "covariance", or "precision").

Author(s)

J. Clavel

See Also

coef.mvgls residuals.mvgls fitted.mvgls mvgls mvols


mvMORPH documentation built on March 31, 2023, 6:25 p.m.