Skip to main content

Module facet

Module facet 

Source

Modules§

grid
wrap

Structs§

FacetAxes
Which facet panels get axes (ggplot2’s facet_*(axes =, axis.labels =), #412). Default: axes on the outer panels only ("margins").
Panel
A single panel in a faceted layout.

Enums§

Facet
Facet specification.
FacetLabeller
How facet strip labels are formatted.
FacetScales
Whether facet panels share axes.
FacetSpace
Whether facet panels are sized proportionally to their data range (R’s space =). Fixed = equal-size panels (default).
FacetSwitch
Move facet_grid strips to the opposite side (ggplot2’s switch, #412): X puts the column strips below the grid, Y the row strips on its left, Both does both.
StripPosition
Which side of a facet_wrap panel its strip sits on (ggplot2’s strip.position, #412).

Functions§

plotmath_to_unicode
A practical subset of plotmath as Unicode (see FacetLabeller::Parsed).
wrap_label
Greedy word wrap at width characters (strwrap), lines joined by \n.