R/recurrent.marginal.R
prob.exceed.recurrent.Rd
Estimation of probability of more that k events for recurrent events process where there is terminal event, based on this also estimate of variance of recurrent events. The estimator is based on cumulative incidence of exceeding "k" events. In contrast the probability of exceeding k events can also be computed as a counting process integral, and this is implemented in prob.exceedRecurrent
prob.exceed.recurrent(
formula,
data,
cause = 1,
death.code = 2,
cens.code = 0,
exceed = NULL,
marks = NULL,
cifmets = TRUE,
all.cifs = FALSE,
...
)
formula
data-frame
of interest
for status
censoring codes
values (if not given then all observed values)
may be give for jump-times and then exceed values needs to be specified
if true uses cif of mets package rather than prodlim
if true then returns list of all fitted objects in cif.exceed
Additional arguments to lower level funtions
Scheike, Eriksson, Tribler (2019) The mean, variance and correlation for bivariate recurrent events with a terminal event, JRSS-C