plot_hist_continuous: Histogram for Continuous Variables

Description Usage Arguments Value Examples

View source: R/histograms.R

Description

Histogram for exploratory data analysis of a continuous variable.

Usage

1
plot_hist_continuous(df, var, n_binwidth, color_fill = "grey40")

Arguments

df

Dataframe to be converted to table.

var

Numeric for maximum number of digits to round numeric values.

n_binwidth

Numeric indicating width of bins.

color_fill

Default color for bars.

Value

Histogram.

Examples

1
2
plot_hist_continuous(df = iris, var = Sepal.Length,  n_binwidth = 0.5, color_fill = "grey40")
plot_hist_continuous(df = USArrests, var = UrbanPop, n_binwidth = 0.5, color_fill = "red")

dgrisafe/styledom documentation built on April 9, 2021, 5:44 a.m.