cum.haz {plac} | R Documentation |
Calulate the Values of the cumulative Hazard at Fixed Times
Description
Calulate the Values of the cumulative Hazard at Fixed Times
Usage
cum.haz(est, t.eval = c(0.25, 0.75))
Arguments
est |
an object of the class |
t.eval |
time points at which the Lambda(t) is evaluated (for both conditional apporach and the PLAC estimator). |
Value
a list containing the estiamtes and SEs of Lambda(t) for both conditional apporach and the PLAC estimator.
Examples
dat1 = sim.ltrc(n = 50)$dat
est = PLAC(ltrc.formula = Surv(As, Ys, Ds) ~ Z1 + Z2,
ltrc.data = dat1, td.type = "none")
H = cum.haz(est, t.eval = seq(0.1, 0.9, 0.1))
H$L
H$se.L
[Package plac version 0.1.3 Index]