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.
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.