GGMirrorTicks: GGMirrorTicks

Description Usage Arguments Value

View source: R/MirrorTicks.R

Description

Adds mirrored tickmarks in ggplot panels. Especially when faceting where dup_axis() does not work (otherwise works well for single panel plots). Based on example provided by Sandy Muspratt on Stackoverflow: http://stackoverflow.com/a/29023682/143476.

Usage

1
GGMirrorTicks(ggobj, sides = "bltr")

Arguments

ggobj

output of ggplot

sides

any of "bltr"

Value

gtable object to be drawn with grid.draw.


stakahama/libRST documentation built on Dec. 23, 2021, 4:33 a.m.