Package: CollapseLevels 0.3.0

CollapseLevels: Collapses Levels, Computes Information Value and WoE

Contains functions to help in selecting and exploring features ( or variables ) in binary classification problems. Provides functions to compute and display information value and weight of evidence (WoE) of the variables , and to convert numeric variables to categorical variables by binning. Functions are also provided to determine which levels ( or categories ) of a categorical variable can be collapsed (or combined ) based on their response rates. The functions provided only work for binary classification problems.

Authors:Krishanu Mukherjee

CollapseLevels_0.3.0.tar.gz
CollapseLevels_0.3.0.zip(r-4.6)CollapseLevels_0.3.0.zip(r-4.5)
CollapseLevels_0.3.0.tgz(r-4.6-any)CollapseLevels_0.3.0.tgz(r-4.5-any)
CollapseLevels_0.3.0.tar.gz(r-4.6-any)CollapseLevels_0.3.0.tar.gz(r-4.5-any)
CollapseLevels_0.3.0.tgz(r-4.5-emscripten)
CollapseLevels.pdf |CollapseLevels.html
CollapseLevels/json (API)

# Install 'CollapseLevels' in R:
install.packages('CollapseLevels', repos = c('https://krishanu1181.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.11 score 13 scripts 184 downloads 7 exports 26 dependencies

Last updated from:19bc6e5f56. Checks:8 ERROR, 1 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64ERROR128
source / vignettesERROR188
linux-release-x86_64ERROR125
macos-devel-arm64ERROR124
macos-release-arm64ERROR135
windows-develERROR70
windows-releaseERROR71
windows-oldrelERROR88
wasm-releaseOK93

Exports:displayIVdisplayResponseRatebyLevelsdisplayWOEIVCalcIVCalc2levelsCollapsernumericToCategorical

Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglazyevallifecyclemagrittrpillarpkgconfigR6RColorBrewerrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr

CollapseLevels

Rendered fromCollapseLevels.Rmdusingknitr::rmarkdownon Mar 21 2026.

Last update: 2020-06-04
Started: 2017-10-27

Readme and manuals

Help Manual

Help pageTopics
displayIVdisplayIV
displayResponseRatebyLevelsdisplayResponseRatebyLevels
displayWOEdisplayWOE
German Credit data setGerman_Credit
IVCalcIVCalc
IVCalc2IVCalc2
levelsCollapserlevelsCollapser
numericToCategoricalnumericToCategorical