Learn R Programming

multipleOutcomes (version 0.4)

vcov.multipleOutcomes: Calculate Variance-Covariance Matrix for a Fitted Model Object

Description

Returns the variance-covariance matrix of the main parameters of fitted model objects. The "main" parameters of models correspond to those returned by coef.

Usage

# S3 method for multipleOutcomes
vcov(object, model_index = NULL, ...)

Value

a matrix of covariance of all estimates

Arguments

object

an object returned by multipleOutcomes().

model_index

NULL if displaying covariance matrix of all fitted models; otherwise, an integer indicating the fitted model.

...

for debugging only