plot_histogram.Rd
Creates histograms for numerical features within a dataframe using ggplot2
plot_histogram(data, columns = "all", num_bins = 30)
A dataframe
A list of numerical features for which to create histograms, or by default, plots all numerical features in the dataframe.
Integer. Number of bins per histogram plot, default is 30 bins.
ggplot object
plot_histogram(iris)
#> Warning: Use of `plot_data$value` is discouraged. Use `value` instead.
plot_histogram(iris, columns = c("Petal.Length", "Petal.Width"), num_bins = 40)
#> Warning: Use of `plot_data$value` is discouraged. Use `value` instead.