categoriseFromWoE.Wide: Create a column that categorises a variable into the bins...

Description Usage Arguments Value

View source: R/mixed.R

Description

This function takes a WoE table of a particular variable describing its bins, and takes the observations of the variable. It creates a tibble of variables (one per bin) containing 0 or 1 whether the original observations fall into the relevant bin.

Usage

1
categoriseFromWoE.Wide(df, varName, woeTable, verbose = FALSE)

Arguments

df

Dataframe containing the at least one column named 'varName'

varName

Name of the variable (string format) which will be binned follwoing its Weight of Evidence

woeTable

Tibble containing the Weight of Evidence table created by WoETable for 'varName'

verbose

Boolean to add additional information. Default is FALSE

Value

Tibble of categories containing 0/1


Emmanuel-R8/SMBinning documentation built on Dec. 9, 2019, 6:39 p.m.