Skip to content

rbin

Tools for Binning Data

v0.2.1 · Nov 5, 2024 · MIT + file LICENSE

Description

Manually bin data using weight of evidence and information value. Includes other binning methods such as equal length, quantile and winsorized. Options for combining levels of categorical data are also available. Dummy variables can be generated based on the bins created using any of the available binning methods. References: Siddiqi, N. (2006) <doi:10.1002/9781119201731.biblio>.

Downloads

CRAN

619

Last 30 days

5678th

1.8K

Last 90 days

8.4K

Last year

Trend: +9.8% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

98

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

5

Last 7 days

11

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

57 12 exported

Complexity

2.1 avg / 10 max

Call network

57 nodes / 52 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Compare versions

Code

Structure

Lines of code

2,611

Files

66

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,657 (63.5%)Tests 312 (11.9%)Docs 483 (18.5%)Vignettes 159 (6.1%)

API

Exported functions

11

Internal functions

45

Recent export changes

v0.1.1+11 rbinAddin, rbinFactorAddin, rbin_create +8 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.71

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

72.7%

\dontrun example ratio

18.2%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

6

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.3

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2019-01-04

Latest release

2024-11-05

Avg cadence

396 days

Cold removal rate

Dep drift

14

LOC over versions

v0.1.1: 2,211 LOCv0.1.2: 2,296 LOCv0.2.0: 2,399 LOCv0.2.1: 2,611 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies data.table ggplot2 rbin

Version History

5 tracked
new 0.2.1 Mar 10, 2026
updated 0.2.1 ← 0.2.0 diff Nov 4, 2024
updated 0.2.0 ← 0.1.2 diff May 13, 2020
updated 0.1.2 ← 0.1.1 diff Feb 3, 2020
new 0.1.1 Jan 3, 2019