Sometimes, your code is just so good, you want to run it again and again and again.. say, over all the rows of a data frame. That's when you need loops. We're taking a look at:
- for(), while() and repeat() loops
- Loop functions of the apply() family
It's one thing to write code, it's another thing to share it with the world. Sakander talks us through the basics of version control with Git and Github, including
- Initializing and handling repositories
- Creating and solving issues with your code
- Committing changes
- Creating and merging pull requests
Automate everything! Today we'll write our first very own functions using R.
Marie talks graphics and packages!
R can do a lot more than just add and subtract. In this meeting, we learn how to
- Easily make simple graphics using the built-in R graphics functions
- Install and load new R packages
- Get to know new packages. Example: GoogleVis
Time to put those new R skills to work! Using actual data on applications for asylum made in Germany this year, Kira shows how to
- Get an overview of available data
- Find interesting characteristics
- Answer basic questions about your dataset
Code along, we put the entire exercise online here.