Set right Y-axis properties of a ggplot
object
Usage
setY2Axis(
plotObject,
scale = NULL,
valuesLimits = NULL,
axisLimits = NULL,
limits = lifecycle::deprecated(),
ticks = NULL,
ticklabels = NULL,
minorTicks = NULL,
font = NULL,
expand = NULL
)
Arguments
- plotObject
A
ggplot
object to set X-axis properties- scale
Scale of axis. Use enum
Scaling
to access names of scales.- valuesLimits
Optional numeric values of values limits
- axisLimits
Optional numeric values of axis limits
- limits
- ticks
Optional values or function for axis ticks
- ticklabels
Optional values or function for axis ticklabels
- minorTicks
Optional values or function for axis minor ticks
- font
A
Font
object defining font of ticklabels- expand
Logical defining if data is expanded until axis