Description Usage Arguments Examples
Reflect positions around an axis.
1 | geometry_reflect(geom, dir = c("x", "y"))
|
geom |
A geometry data frame. |
dir |
Direction in which to reflect. One of "x" and "y". (Specifying "x" will flip the x values about the y axis. |
1 2 3 4 5 6 7 8 9 10 11 12 | scatter_ex %>% plot()
scatter_ex %>% geometry_reflect() %>% plot()
scatter_ex %>% geometry_reflect("y") %>% plot()
histogram_ex %>% plot()
histogram_ex %>% geometry_reflect() %>% plot()
histogram_ex %>% geometry_reflect("y") %>% plot()
histogram_ex %>% geometry_reflect("y") %>% geometry_flip() %>% plot()
nz %>% plot()
nz %>% geometry_reflect() %>% plot()
nz %>% geometry_reflect("y") %>% plot()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.