Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

reReg (version 1.2.1)

Recur-pipe: The %to% function is imported from reda

Description

This pipe operator specifies the time segments or recurrent episodes by endpoints. See reda for more details.

Arguments

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