by curiousgal · 8y ago · 0 comments
I always feel bad when I resort to a for loop in R. Do you have any recommended ressources about mastering those specific manipulations?
Sometimes a loop is vastly more performant if you count the amount of time it takes to get the "idiomatic" way working and working in a way that allows easy troubleshooting.
getting comfortable with purrr has been enormously helpful in consolidating my code and avoiding unnecessary loops