powered by
Weight of evidence and information value for categorical data.
rbin_factor(data = NULL, response = NULL, predictor = NULL, include_na = TRUE)# S3 method for rbin_factor plot(x, print_plot = TRUE, ...)
# S3 method for rbin_factor plot(x, print_plot = TRUE, ...)
A data.frame or tibble.
data.frame
tibble
Response variable.
Predictor variable.
logical; if TRUE, a separate bin is created for missing values.
TRUE
An object of class rbin_factor.
rbin_factor
logical; if TRUE, prints the plot else returns a plot object.
further arguments passed to or from other methods.
# NOT RUN { bins <- rbin_factor(mbank, y, education) bins # plot plot(bins) # }
Run the code above in your browser using DataLab