Utility function to get segments (as character strings) from vector with cutpoints

get_pw_segments(x = NULL, cuts, right = FALSE, ordered_results = TRUE)

Arguments

x

NULL value

cuts

Vector with cut points

right

Logical

ordered_results

Logical

Value

factor of segments