Learn R Programming

mvMORPH (version 1.2.1)

vcov: 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 mvgls
vcov(object, ...)

Value

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

Arguments

object

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

...

additional arguments for methods function. See details below.

Author

J. Clavel

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).

See Also

coef.mvgls residuals.mvgls fitted.mvgls mvgls mvols