psi_table | R Documentation |
Function to calculate the vector table given 2 vector of counts
psi_table(old, new)
old |
A vector of original distribution |
new |
A vector with the new distribution |
A table with psi index (value) a label and the table for with counts, percents, woe.
o <- factor(sample(letters[1:5], size = 9000, prob = 1:5, replace = TRUE))
n <- factor(sample(letters[1:5], size = 1000, prob = 1:5 + 4, replace = TRUE))
psi_table(o, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.