cutit {cutoff} | R Documentation |
Cut Continuous Vector to Classification
Description
Cut Continuous Vector to Classification
Usage
cutit(x, cut_points, include = "low", labels = FALSE)
Arguments
x |
numeric vector |
cut_points |
cuting points value |
include |
The direction of cutoff point. Any left letter of lower or upper |
labels |
logical. False is defaulted. TRUE means set range as factor. |
Value
numeric vector or factor
Examples
cutit(mtcars$disp,c(150,190))
cutit(mtcars$disp,c(150,190),labels = TRUE)
[Package cutoff version 1.3 Index]