cut_borders {shortIRT}R Documentation

Cut borders

Description

Extract the limits of the intervals obtained from sub setting a vector

Usage

cut_borders(x)

Arguments

x

numeric/integer vector

Value

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

Examples

x <- seq(-3, 3, length = 5)
groups <- cut(x, 5, include.lowest = TRUE)
boundaries <- cut_borders(groups)

[Package shortIRT version 0.1.3 Index]