Description Usage Arguments Examples
This function generates a data.table tabulating the different levels of a categorical independent variable and the corresponding probabilities of the binary dependent variable taking the value of 1.
1 | CategoricalTable(Target, Covariate, Data, UseLogit = T)
|
Target |
The name of binary target to be predicted. |
Covariate |
The name of the covariate. |
Data |
A data.table containing both the target and covariate. |
UseLogit |
If the value is TRUE, Log Odds will be generated. Otherwise, a set of score derived from Log Odds, scaled from 0 to 100, will be generated. |
1 | gearTable <- CategoricalTable(Target = "am", Covariate = "gear", Data = mtcars)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.