plot_hist_dens: Plot histogram and kernel density estimation

Description Usage Arguments Value References Examples

View source: R/microplots.R

Description

A combination of plot_hist and plot_dist.

Usage

1
plot_hist_dens(df, numcols = colnames(df), bins = 10)

Arguments

df

Any non-empty dataframe.

numcols

Names of columns to be used. By default uses all columns.

bins

How many bins to be used for the histogram. By default, uses 10 bins.

Value

Will returned an overlayed combination of density plot and histogram for the columns in df, or those selected through the parameter numcols.

References

https://www.edx.org/course/principles-of-machine-learning-r-edition

Examples

1

julianbarg/DataAnalysisTools documentation built on April 9, 2020, 11:43 a.m.