penguins |> summarize( avg_weight = mean(mass_g), .by = Species )
🤯 🤯 🤯
https://www.tidyverse.org/blog/2023/03/dplyr-1-1-1/
#PositConf2023
@kellybodwin is this syntax an alternative to having to do a group_by() call before the summarize() call?
@capbri Yes! Or more importantly, to avoid having to remember to ungroup() after.
@kellybodwin 🎉🥳🎉
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.