Learn R Programming

reReg (version 1.4.1)

mcf: The mcf function is imported from reda.

Description

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.

Arguments

Examples

Run this code
# NOT RUN {
data(simDat)
m <- mcf(Recur(t.start %to% t.stop, id, event, status) ~ x1, data = simDat)
plot(m, conf.int = TRUE)
# }

Run the code above in your browser using DataLab