Study the distribution of a target variable vs another variable. This function is quite similar to the funModeling's corrplot function.
plot_distr(data, target, values, top = 10, breaks = 10,
custom_colours = FALSE, abc = FALSE, na.rm = FALSE,
print = FALSE, save = FALSE, subdir = NA)
Dataframe
Character. Name of the Main -target- variable
Character. Name of the Secondary variable
Integer. Filter and plot the most n frequent for categorical values
Integer. Number of splits for numerical values
Boolean. Use custom colours function?
Boolean. Do you wish to sort by alphabetical order?
Boolean. Ignore NAs if needed
Boolean. Print the table's result
Boolean. Save the output plot in our working directory
Character. Into which subdirectory do you wish to save the plot to?