plot_num: Plotting numerical data

View source: R/exploratory_data_analysis.R

plot_numR Documentation

Plotting numerical data

Description

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

Usage

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


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


funModeling documentation built on May 29, 2024, 3:24 a.m.