Learn R Programming

marginaleffects (version 0.3.3)

get_vcov: Get a named variance-covariance matrix from a model object (internal function)

Description

Get a named variance-covariance matrix from a model object (internal function)

Usage

get_vcov(model, ...)

# S3 method for default get_vcov(model, ...)

# S3 method for polr get_vcov(model, ...)

# S3 method for glimML get_vcov(model, ...)

# S3 method for multinom get_vcov(model, ...)

# S3 method for crch get_vcov(model, ...)

# S3 method for scam get_vcov(model, ...)

Arguments

model

Model object

...

Additional arguments are pushed forward to predict().

Value

A named square matrix of variance and covariances. The names must match the coefficient names.