Hour 9. Loops and Summaries
What You’ll Learn in This Hour:
How to perform iterative “looping” techniques in R
How to apply functions to complex data structures
How to calculate metrics “by” one or more variables
Throughout this book you have seen how to use, and even create, simple R functions. In this hour, we are going to use simple functions and code in a more “applied” fashion. This allows us to perform tasks repeatedly over sections of our ...
Get Sams Teach Yourself R in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.