dot-cut_variable: .cut_variable

.cut_variableR Documentation

.cut_variable

Description

This function cuts a numeric variable into intervals based on the provided breaks.

Usage

.cut_variable(variable, breaks)

Arguments

variable

A numeric vector that you want to cut into intervals.

breaks

A numeric vector specifying the breakpoints for cutting the variable.

Value

A factor vector representing the intervals into which the variable has been cut.


valueSetCompare documentation built on June 22, 2024, 6:57 p.m.