.cut_variable {valueSetCompare}R 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.


[Package valueSetCompare version 1.0.0 Index]