cut_borders {shortIRT} | R Documentation |
Extract the limits of the intervals obtained from sub setting a vector
cut_borders(x)
x |
numeric/integer vector |
A data frame with two columns. The first column contains the lower bounds of each interval. The second column contains the upper bound of each interval
x <- seq(-3, 3, length = 5)
groups <- cut(x, 5, include.lowest = TRUE)
boundaries <- cut_borders(groups)