quant_bin_1d: One-Dimensional Empirical Quantile Binning

Description Usage Arguments Value

View source: R/IterativeQuantileSupportFunctions.R

Description

used for binning the numeric values by empirical quantile

Usage

1
quant_bin_1d(xs, nbin, output = "data", jit = 0)

Arguments

xs

Numeric vector of values to be binned

nbin

An integer defining the number of bins to partion the xs into

output

Output Structure: "data" for just the binned data,"definition" for a list of bin centers and boundaries, or "both" for list containing both data and definition

jit

non-negative value to specify a random uniform jitter to the observed values prior to partitioning by quantiles.

Value

output as specified


kmaurer/iqbin documentation built on Jan. 1, 2020, 6:48 p.m.