Description Usage Arguments Examples
Wrapper around geom_point()
with default parameters to modify the design of the points. For a description
of the function parameters see geom_point
1 2 3 4 5 6 7 8 | rg_geom_point(
mapping = NULL,
pch = 21,
color = "white",
size = 2,
stroke = 1.5,
...
)
|
mapping |
aestetic mapping |
pch |
integer, point shape |
color |
string, color of point |
size |
integer, point size |
stroke |
integer, width of point border |
... |
parameters passed on to |
1 2 3 4 5 6 7 8 | data('economics_long')
economics_long %>%
filter(year(date) == 2000) %>%
ggplot(aes(date, value)) +
geom_line() +
rg_geom_point(aes(fill = variable)) +
facet_wrap(~variable, scales = 'free') +
theme_bw()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.