vcov.mpr {mpr}R Documentation

Extracting variance-covariance matrix for MPR models.

Description

This function extracts the variance-covariance matrix for the estimated parameters from a fitted mpr model.

Usage

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

Arguments

object

fitted mpr model.

...

further arguments passed to or from other methods.

Value

The variance-covariance matrix.

Author(s)

Kevin Burke.

See Also

mpr.

Examples

# Veterans' administration lung cancer data
veteran <- survival::veteran
head(veteran)

mod1 <- mpr(Surv(time, status) ~ list(~ trt, ~ trt), data=veteran, family="Weibull")
vcov(mod1)
mod1$vcov


[Package mpr version 1.0.6 Index]