Replies: 3 comments 65 replies
-
I can see library(ggplot2)
ggplot(mpg, aes(displ, hwy)) +
geom_point()
# Edit global aes
ggplot(mpg, aes(displ, hwy, colour = drv)) +
geom_point()
# Display as filled points
ggplot(mpg, aes(displ, hwy, colour = drv)) +
geom_point(shape = 21)
# Oops, now colour must be fill
ggplot(mpg, aes(displ, hwy, fill = drv)) +
geom_point(shape = 21)
# Continue on
ggplot(mpg, aes(displ, hwy, fill = drv)) +
geom_point(shape = 21) +
facet_wrap(~ year) I can't really |
Beta Was this translation helpful? Give feedback.
-
@corybrunson, was looking at your ggalluvial with this closereads and decomposed code approach to try to capture a data exploration. Playing around with a in-script geom_stratum_text() definition - I still think that is the way to go (and definitely adding the default aes makes sense to me)! 🙃 Anyway, package is really fun to use. https://evamaerey.github.io/crispy-octo-train/ggalluvial.html you have to scroll a bit to get to the 'scrollytelling' part... |
Beta Was this translation helpful? Give feedback.
-
Just seeing this issue of @willgearty's related to geom defaults.... willgearty/deeptime#77 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I wonder what people's favorite ways of showing adjustment consequences are. For me, last_plot() + new_code() was key to really 'getting' ggplot2. another strategy is p1 + new_code(). And there's also, quote complete code and highlight what's new e.g. codehover/flipbookr, others.
I put together ggplotXclosereads https://evamaerey.github.io/crispy-octo-train/closereads-chunk-reveal.html that uses last_plot() + new_code().
Beta Was this translation helpful? Give feedback.
All reactions