Sign up for our weekly newsletter!
Andrew Bertoli is a PhD candidate in Political Science at UC Berkeley. His research investigates how new methodological tools can be applied to the study of international relations.
The R for Data Science workshop series is a four part course, designed to take novices in the R language for statistical computing and produce programmers who are competent in finding, displaying, analyzing, and publishing data in R.
Day 4 (functions and packages)
Students will be introduced to the principles behind functional programming. Students will learn how to write and import functions, add looped and vectorized computation to their functions, and control the flow of data through a function. Students will understand the basics of name spaces, and how that relates to assigning values within functions. Students will see how to successfully package a function for CRAN.
Want to learn more? Check out the full R for Data Science workshop series: