powered by
%to%
reda
This pipe operator specifies the time segments or recurrent episodes by endpoints. See reda for more details.
# 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