executeBinning {aglm}R Documentation

Binning the data to given bins.

Description

Binning the data to given bins.

Usage

executeBinning(x_vec, breaks = NULL, nbin.max = 100, method = "freq")

Arguments

x_vec

The data to be binned.

breaks

A numeric vector representing breaks of bins (If NULL, automatically generated).

nbin.max

The maximum number of bins (used only if breaks=NULL).

method

"freq" for equal frequency binning or "width" for equal width binning (used only if breaks=NULL).

Value

A list with the following fields:

Author(s)

Kenji Kondo


[Package aglm version 0.4.0 Index]