Trending

#tinyplot

Latest posts tagged with #tinyplot on Bluesky

Latest Top
Trending

Posts tagged #tinyplot

Plotting estimated marginal means with tinyplot

๐ŸŽ‰ 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...

28 7 1 2
tinyplot: convenient and customizable base R plots - Grant McDermott
tinyplot: convenient and customizable base R plots - Grant McDermott YouTube video by useR! Conference

๐ŸŽจ 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-...

16 5 0 0
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)))

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/

18 4 3 0