plot_hist_facet: Faceted ggplot histograms

Description Usage Arguments Value Examples

Description

Faceted ggplot histograms

Usage

1
2
3
plot_hist_facet(data, bins = 10, ncol = 5, fct_reorder = FALSE,
  fct_rev = FALSE, fill = "#18BC9C", color = "white",
  scale = "free")

Arguments

data

data frame containing features

bins

number of histogram bins

ncol

number of histogram columns

fct_reorder

reorder factors

fct_rev

reverse factor order

fill

color value for geom_hist fill argument

color

color value for geom_hist color argument

scale

value for geom_hist scale argument

Original code by Matt Dancho DS4B 201

Value

ggplot object containing histograms

Examples

1

johnaclouse/viz documentation built on June 1, 2019, 3:56 a.m.