Learn R Programming

reReg (version 1.4.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