Learn R Programming

simMSM (version 1.1.2)

simexitinner: Help Function used to simulate New Exit Time.

Description

Help function for simexit.

Usage

simexitinner(u, entry, all.bhr, eta.ij, x.i, max.time)

Arguments

u
random number as a realisation of the uniform distribution
entry
entry time
all.bhr
list containing all cause specific baseline hazard functions
eta.ij
list containing transition type specific linear predictor functions
x.i
vector of covariate values
max.time
maximum entry time

Value

  • A list with two elements: new.exit and u.

Details

This function is used inside simexit.

Examples

Run this code
simexitinner(u, entry, all.bhr, eta.ij, x.i)

Run the code above in your browser using DataLab