View source: R/ciftest-phase2.R
| estimate_working_aj | R Documentation |
The package Aalen-Johansen engine is evaluated separately within every observed exposure-by-stratum cell. A second call with the two event codes exchanged supplies the competing-event cumulative incidence.
estimate_working_aj(
t,
epsilon,
exposure,
strata = rep.int("pooled", length(t)),
weights = rep.int(1, length(t)),
code.event1 = 1L,
code.event2 = 2L,
code.censoring = 0L,
prob.bound = 1e-07,
prob.truncation = NULL
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.