rweCut: Cut a sequence of numbers into bins with equal numbers in...

Description Usage Arguments

View source: R/rwe_tools.R

Description

Cut a sequence of numbers into bins with equal numbers in each bin

Usage

1
rweCut(x, y = x, breaks = 5, keep.inx = NULL)

Arguments

x

vector of values based on which cut points will be determined

y

vector of values to be cut, default to be the same as x

breaks

number of cut points

keep.inx

indices of y that will be categorized as 1 or the largest bin even if their values are out of range of x


olssol/rwetools documentation built on April 18, 2021, 11:42 a.m.