Description Usage Arguments Value Examples
scale_x_S4_discrete
and scale_y_S4_discrete
are the analogues of scale_x_discrete
and
scale_y_discrete
. They are the default scales for S4
discrete data classes.
1 2 3 4 5 6 7 8 9 10 11 12 13 | scale_x_S4_discrete(
...,
expand = waiver(),
guide = waiver(),
position = "bottom"
)
scale_y_S4_discrete(
...,
expand = waiver(),
guide = waiver(),
position = "left"
)
|
... |
Arguments passed on to
|
expand |
For position scales, a vector of range expansion constants used to add some
padding around the data to ensure that they are placed some distance
away from the axes. Use the convenience function |
guide |
A function used to create a guide or its name. See
|
position |
For position scales, The position of the axis.
|
A ScaleS4
object.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.