vcov.mexhaz: Method for extracting the covariance matrix of the fixed...

View source: R/vcov.mexhaz.R

vcov.mexhazR Documentation

Method for extracting the covariance matrix of the fixed effects

Description

Display a the covariance matrix of the fixed effects of a mexhaz model.

Usage

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

Arguments

object

an object of class mexhaz.

...

not used.

Value

The estimated covariance matrix of the fixed effects.

See Also

mexhaz

Examples


data(simdatn1)

## Fit of a mixed-effect excess hazard model, with the baseline hazard
## described by a Weibull distribution (without covariables)

Mod_weib_mix <- mexhaz(formula=Surv(time=timesurv,
event=vstat)~1, data=simdatn1, base="weibull",
expected="popmrate", verbose=0, random="clust")

vcov(Mod_weib_mix)

mexhaz documentation built on Oct. 31, 2022, 5:08 p.m.