๐ Great news for #rstats users! If you love the native R graphics feel of #tinyplot AND you're a fan of the powerful #easystats #modelbased package, this is for you!
Thanks to @gmcd.bsky.social, we significantly enhanced the tinyplot integration.
๐ Read more: easystats.github.io/modelbased/a...
๐จ How to create elegant #dataviz with base #rstats and the #tinyplot pkg
๐ useR! 2025 presentation by Grant McDermott @gmcd.bsky.social
www.youtube.com/watch?v=MOB-...
Barplot for penguin species group by island, stratified and stacked by sex. R code: library("tinyplot") data("penguins", package = "palmerpenguins") pal <- c("darkorange", "purple", "cyan4") tinytheme("minimal", las = 1, palette.qualitative = pal) tinyplot(~ island | sex + species, facet = ~ species, data = penguins, type = "barplot", flip = TRUE, facet.args = list(ncol = 1), col = "transparent", bg = rbind(pal, colorspace::lighten(pal, 0.6)))
๐จ The #tinyplot pkg for #rstats #dataviz now also has support for barplots (in the R-universe version).
Grouping and faceting can be done using tinyplot's formula-based syntax.
Example: Frequencies of penguin species by island, stacked by sex. (Code in alt text).
grantmcdermott.com/tinyplot/