Add a shared radar grid

geom_radar_grid.RdDraw rings, spokes, value ticks and axis names from one specification. The same grid is drawn in all facets, including panels with missing data.
Usage
geom_radar_grid(
spec,
grid = c("polygon", "circle", "none"),
breaks = NULL,
colour = "#CEDADC",
linewidth = 0.35,
linetype = 1,
axis_colour = "#A7B9BB",
axis_linewidth = 0.35,
show_axes = TRUE,
show_ticks = TRUE,
show_labels = TRUE
)Arguments
- spec
A specification from
radar_spec().- grid
Ring style. Choose
"polygon","circle", or"none".- breaks
Optional radial breaks in the original value units. The default for a shared scale uses five equally spaced values including both ends. For per-axis scales, supply breaks in
specvia its limits table.- colour, linewidth, linetype
Style of the rings.
- axis_colour, axis_linewidth
Style of the spokes.
- show_axes, show_ticks, show_labels
Draw the spokes, tick labels and axis names, respectively.
Details
With per-axis scales, rings mark fixed fractions of each axis range at 25%, 50%, 75% and 100%. Individual tick values are positioned on their own spokes. By default each nonzero ring has a tick on every spoke. The axis names include their ranges. Lower bounds share the centre and are shown only in the axis names to avoid overprinting. When constructing a layered plot, add the grid after filled profiles to keep the ticks visible inside the fill.