Guides

Functional programming in R with Purrr

When you first started in R you likely were writing simple code to generate one outcome. print("Hello world!") ## [1] "Hello world!" 5 * 6 ## [1] 30 x <- c(1, 2, 3, 4, 5) ## [1] 1 2 3 4 5 This is great, you are learning about strings, math, and vectors in R! Then you get started with some basic analyses. You want to see if you can find the mean of some numbers.