summary.frailtyCmprsk: summary of parameter estimates of a Weibull competing risks...

summary.frailtyCmprskR Documentation

summary of parameter estimates of a Weibull competing risks model with (or without) shared frailty between transitions.

Description

This function returns hazard rations (HR) and its confidence intervals

Usage

## S3 method for class 'frailtyCmprsk'
summary(object, level = 0.95, len = 6, d = 2,
                                 lab="hr",...)

Arguments

object

output from a call to frailtyCmprsk.

level

significance level of confidence interval. Default is 95%.

len

the total field width. Default is 6.

d

the desired number of digits after the decimal point. Default of 6 digits is used.

lab

label of printed results.

...

other unused arguments.

Value

Prints HR and its confidence intervals. Confidence level is allowed (level argument).

See Also

frailtyCmprsk

Examples


  

    ###--- Simple Weibull competing risks model ---###

    ###--- Weibull competing risks model with shared frailty between transitions ---###

    data(CPRSKbmtcrr)

    ##--- Simple Weibull competing risks model with left truncation ---##

    modCmprskFrailty <- frailtyCmprsk(
      formulas = list(
        Surv(Age, observed_time, Status, type = "mstate") ~ Sex,
        ~ Sex
      ),
      data = CPRSKbmtcrr,
      print.info = FALSE,
      maxit = 100
    )

    #-- Confidence interval at 95% level (default)

    summary(modCmprskFrailty)

    #-- Confidence interval at 99% level

    summary(modCmprskFrailty, level = 0.99) 

frailtypack documentation built on Nov. 23, 2025, 1:09 a.m.