Frighteningly powerful #rstats combo: mutate() + across() + {tidyselect} helpers 💥 🤯 But the syntax may be a bit confusing at first. So, here are a couple of simple examples. (With editable code plus meme below)
You can find the code at: gist.github.com/AlbertRapp/043… Also, here's a meme to drive home the point that this is a majestic combo 🤣 🐻
If you liked this post, you may enjoy my 3-minute newsletter too. Every week, my newsletter shares insights on - R & dataviz, - Shiny and web dev Reading time: 3 minutes or less You can join at alberts-newsletter.beehiiv.com/subscribe
@rappa753 Thank you, I follow your content and I find them very insightful 🙏
@rappa753 Why not use the scale() function of base R. Would be even less typing thenbwriting your own function 😅