How I Made My First R Function
And how you can too: a real-world example.
Published in
5 min readMay 22, 2021
Learning R is a real pain in the keister — the learning curve is steep and it can be overwhelming. What keeps me coming back to this humbling journey is the capability to only have to do the work for something once and then repeat it as many times as I need. I love efficiency so I soldier on. Today I ran into a tedious annoyance that I was able to solve in minutes by creating a function.