add_facet: Add Red Hat facets to a plot

Description Usage Arguments

View source: R/plot_add_ons.R

Description

After creating your own ggplot, you may want to separate a plot by groups into two plots. This is done by faceting.

Usage

1
add_facet(gg, facet_col, ncol = NULL, nrow = NULL, scales = "free")

Arguments

gg

A ggplot object

facet_col

The data frame column by which to group the data

ncol

The number of columns to have plots

nrow

The number of rows of plots

scales

Do you want each plot to have the same measure scale ("fixed") or each to have their own scale ("free")


brascoball/ggquik documentation built on Feb. 14, 2021, 5:17 p.m.