PCWInversionMethod {simIDM} | R Documentation |
Single Piecewise Exponentially Distributed Event Time
Description
This returns an event time with a distribution resulting from piece-wise constant hazards using the inversion method.
Usage
PCWInversionMethod(haz, pw, LogU)
Arguments
haz |
( |
pw |
( |
LogU |
( |
Value
This returns one single event time.
Examples
PCWInversionMethod(haz = c(1.1, 0.5, 0.4), pw = c(0, 7, 10), LogU = log(1 - runif(1)))
[Package simIDM version 0.1.0 Index]