Learn R Programming

simMSM (version 1.1.2)

allcausehr: All Cause Hazard Rate Function

Description

This function calculates the all cause hazard rate function for given hazard rate functions.

Usage

allcausehr(t, all.bhr, eta.ij, x.i)

Arguments

t
scalar value giving the time the value of the all cause hazard has to be evaluated at.
all.bhr
list object containing all baseline hazard functions.
eta.ij
list containing transition type specific functions for the linear predictor.
x.i
vector containing the current covariate values.

Value

  • Scalar value measuring the all cause hazard for a given initial state at time t

Examples

Run this code
allcausehr(t, all.bhr, eta.ij, x.)

Run the code above in your browser using DataLab