Retrieves one plot containing all the histograms for numerical variables. NA values will not be displayed.

plot_num(data, bins = 10, path_out = NA)

Arguments

data

data frame

bins

number of bars (bins) to plot each histogram, 10 by default

path_out

path directory to export the output, if it has a value the plot is saved, if the directory doesn't existis it will try to create it. To save in current directory path must be dot: "."

Value

plot containing all numerical variables

Examples

if (FALSE) { plot_num(mtcars) # changing the bins parameter and exporting the plot plot_num(data=mtcars, bins=5, path_out="my_folder") }