Learn R Programming

mpr (version 1.0.6)

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

Arguments

object

fitted mpr model.

further arguments passed to or from other methods.

Value

The variance-covariance matrix.

See Also

mpr.

Examples

Run this code
# NOT RUN {
# 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

# }

Run the code above in your browser using DataLab