facet_grid
and facet_wrap
, but
with axis lines and labels preserved on all panels.
facet_rep_grid(..., repeat.tick.labels = FALSE)facet_rep_wrap(..., scales = "fixed", repeat.tick.labels = FALSE)
Arguments used for facet_grid
or
facet_wrap
.
When FALSE
(default), axes on inner panels
have their tick labels (i.e. the numbers) removed.
Set this to TRUE
to keep all labels,
or any combination of top, bottom, left, right to
keep only those specified. Also acceps 'x' and 'y'.
As for facet_grid
, but alters behaviour of repeat.tick.labels
.
These two functions are extensions to facet_grid
and facet_wrap
that keeps axis lines, ticks, and
optionally tick labels across all panels.
Examples are given in the vignette "Repeat axis lines on facet panels" vignette.