histograms: Histograms

Description Usage Arguments Details Value Examples

View source: R/histograms.R

Description

Create histograms for all quantitative variables in a data frame.

Usage

1
histograms(data, fill = "deepskyblue2", color = "white", bins = 30)

Arguments

data

data frame

fill

fill color for histogram bars

color

border color for histogram bars

bins

number of bins (bars) for the histograms

Details

The histograms function will only plot quantitative variables from a data frame. Categorical variables are ignored.

Value

a ggplot graph

Examples

1
2
histograms(cars74)
histograms(cars74, bins=15, fill="darkred")

Rkabacoff/qacr documentation built on March 20, 2021, 3:03 p.m.