fixef.mexhaz {mexhaz}R Documentation

Method for extracting fixed effects from a mexhaz object

Description

Display a vector containing the fixed effects of a mexhaz model.

Usage

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

Arguments

x

an object of class mexhaz.

...

not used.

Value

A vector containing the fixed effect estimates.

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")

fixef(Mod_weib_mix)

[Package mexhaz version 2.6 Index]