Learn R Programming

reReg (version 1.4.1)

Recur: The Recur function is imported from reda.

Description

Create a recurrent event survival object, used as a response variable in reReg. This function is replacing the original reSurv() in version 1.1.6. See ?reda::Recur for more details.

Arguments

See Also

%2%

Examples

Run this code
# NOT RUN {
Recur(2:6, id = c(1, 1, 1, 2, 2))
Recur(2:6, id = c(1, 1, 1, 2, 2))
Recur(1:5 %2% 2:6, id = c(1, 1, 1, 2, 2))
# }

Run the code above in your browser using DataLab