Ever wonder what geom_histogram is actually doing? How about geom_boxplot?
In celebration of the release of #ggplot2 4.0.0 (ggplot8?), I explore the relationships between the “geoms” and “stats” offered by the core {ggplot2} functions.
#rstats
Yes, it's for the Grammar!
But also for the passionate and supportive community — and their steady contributions to the ggplot2 universe: all the extension packages 🧩 that take its impressive flexibility even further, making it more powerful and beautiful 🙌
#rstats #tidyverse
Yes, it's for the Grammar!
But also for the passionate and supportive community — and their steady contributions to the ggplot2 universe: all the extension packages 🧩 that take its impressive flexibility even further, making it more powerful and beautiful 🙌
#rstats #tidyverse
library(mgcv)
ggplot(mtcars) +
aes(x = hp, y = disp) +
geom_point() +
stat_smooth(
aes(color = "vanilla gam"),
method = "gam"
) +
stat_smooth(
aes(color = "monotonic constraint"),
method = mgcv::scasm,
formula = y ~ s(x, bs = "sc", xt = c("m+"))
)
library(mgcv)
ggplot(mtcars) +
aes(x = hp, y = disp) +
geom_point() +
stat_smooth(
aes(color = "vanilla gam"),
method = "gam"
) +
stat_smooth(
aes(color = "monotonic constraint"),
method = mgcv::scasm,
formula = y ~ s(x, bs = "sc", xt = c("m+"))
)
✨ Learn more: buff.ly/3ZppnjL
#RStats #ggplot2
✨ Learn more: buff.ly/3ZppnjL
#RStats #ggplot2
R: [points at S]
S: 🤪
R: [points at S]
S: 🤪
dominicroye.github.io/en/2023/inse...
dominicroye.github.io/en/2023/inse...
#rstats #dataviz
#rstats #dataviz
https://www.cedricscherer.com/2019/08/05/a-ggplot2-tutorial-for-beautif…
https://www.cedricscherer.com/2019/08/05/a-ggplot2-tutorial-for-beautif…
“Remember that drawing a line with confidence bands doesn’t mean you did any statistical stuff” #rstats
journals.sagepub.com/doi/full/10....
“Remember that drawing a line with confidence bands doesn’t mean you did any statistical stuff” #rstats
journals.sagepub.com/doi/full/10....
#DataViz #ggplot2 #RStats
#DataViz #ggplot2 #RStats
#RStats #ggplot2 #DataViz
#RStats #ggplot2 #DataViz
www.linkedin.com/posts/carart...
www.linkedin.com/posts/carart...
Average annual wind speed in North Rhine-Westphalia
#30DayMapChallenge | Day 10 - Air #rstats #ggplot2
Average annual wind speed in North Rhine-Westphalia
#30DayMapChallenge | Day 10 - Air #rstats #ggplot2
10 years in and i still have no idea how to plot multiple ggplots
10 years in and i still have no idea how to plot multiple ggplots
Late entry for Day 10 of the #30DayMapChallenge - Air.
Mapping average wind speed from November 5, 2025.
Code: github.com/rajodm/30Day...
#dataviz #rstats #ggplot2
Late entry for Day 10 of the #30DayMapChallenge - Air.
Mapping average wind speed from November 5, 2025.
Code: github.com/rajodm/30Day...
#dataviz #rstats #ggplot2
For #30DayMapChallenge I explored average monthly wind speed using WorldClim data.
Each frame shows mean wind speed (m/s) around the world — from calm zones to powerful currents.
🗺️ Animated in #RStats with terra, ggplot2, and gganimate.
#DataViz #ClimateData
For #30DayMapChallenge I explored average monthly wind speed using WorldClim data.
Each frame shows mean wind speed (m/s) around the world — from calm zones to powerful currents.
🗺️ Animated in #RStats with terra, ggplot2, and gganimate.
#DataViz #ClimateData
Just discovered the {loon.ggplot} 📦, designed to turn ggplot graphics into interactive (loon) plots.
It provides operations for an _interactive grammar of graphics_ -zooming, panning, and linking among any number of displays.
great-northern-diver.github.io/loon.ggplot/...
Just discovered the {loon.ggplot} 📦, designed to turn ggplot graphics into interactive (loon) plots.
It provides operations for an _interactive grammar of graphics_ -zooming, panning, and linking among any number of displays.
great-northern-diver.github.io/loon.ggplot/...
🔗: www.shogunsoccer.com/p/2024-j2-se...
#JLeague 2️⃣ insights from data with #rstats & watching the games 👀!
- Squad Age Profiles 👨👨👦👦
- ⚽️ by ⌚️ & Situation
- Team/Player xG 📈
- ... & more!
#Jリーグ #サッカー #ggplot2
I've written a blog post showing you how to make annotated area charts using plotnine in Python (with a little bit of help from highlight-text and matplotlib) 📊
(possibly of interest to #RStats users who use #ggplot2!)s a subtitle! 📊
Link 👇👇👇
#Python #plotnine #DataViz
I've written a blog post showing you how to make annotated area charts using plotnine in Python (with a little bit of help from highlight-text and matplotlib) 📊
(possibly of interest to #RStats users who use #ggplot2!)s a subtitle! 📊
Link 👇👇👇
#Python #plotnine #DataViz