Description Usage Arguments Value Examples
View source: R/symmetric_scale.r
Function to ensure that a position scale is symmetric about 0
1 |
range |
range of the data |
symmetric range
1 2 3 4 | library(ggplot2)
ggplot(mpg, aes(cty, hwy)) +
geom_point() +
scale_x_continuous(limits = symmetric_range)
|
Loading required package: gridExtra
Loading required package: ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.