createEqualFreqBins {aglm} | R Documentation |

## Create bins (equal frequency binning)

### Description

Create bins (equal frequency binning)

### Usage

```
createEqualFreqBins(x_vec, nbin.max)
```

### Arguments

`x_vec` |
A numeric vector, whose quantiles are used as breaks. |

`nbin.max` |
The maximum number of bins. |

### Value

A numeric vector representing breaks obtained by binning.
Note that the number of bins is equal to `min(nbin.max, length(x_vec))`

.

### Author(s)

Kenji Kondo

[Package

*aglm*version 0.4.0 Index]