print.mexhaz: Print method for a mexhaz object

View source: R/print.mexhaz.R

print.mexhazR Documentation

Print method for a mexhaz object

Description

Display the model call as well as the values of the estimated model parameters.

Usage

## S3 method for class 'mexhaz'
print(x, ...)

Arguments

x

an object of class mexhaz.

...

represents additional parameters directly passed to print.

See Also

mexhaz, summary.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")

print(Mod_weib_mix)

mexhaz documentation built on June 28, 2024, 5:07 p.m.