Learn R Programming

aglm (version 0.4.1)

createEqualWidthBins: Create bins (equal width binning)

Description

Create bins (equal width binning)

Usage

createEqualWidthBins(left, right, nbin)

Value

A numeric vector representing breaks obtained by binning.

Arguments

left

The leftmost value of the interval to be binned.

right

The rightmost value of the interval to be binned.

nbin

The number of bins.

Author

Kenji Kondo