An S4 class generic function that returns the mean cumulative function (mcf) estimates. The function is imported from the reda package; see ?reda::mcf for more details.

Examples

data(simDat) m <- mcf(Recur(t.start %to% t.stop, id, event, status) ~ x1, data = simDat) plot(m, conf.int = TRUE)