Learn R Programming

simMSM (version 1.1.2)

cumallcausehr: Cumulative All Cause Hazard Rate

Description

Calculates the value of the integral of the all cause hazard rate.

Usage

cumallcausehr(entry, exit, all.bhr, eta.ij, x.i)

Arguments

entry
entry time
exit
exit time
all.bhr
list of baseline hazard functions
eta.ij
list of transition type specific linear predictor functions
x.i
vector containing the current covariate values.

Value

  • Value of the integral of the all cause hazard function from entry to exit

Examples

Run this code
cumallcausehr(entry, exit, all.bhr, eta.ij, x.i)

Run the code above in your browser using DataLab