This course contains all lessons from swirl's R Programming course. Learn about the powerful R programming language inside RStudio.
This chapter introduces the basic building blocks of the R programming language. You'll learn how to do arithmetic, create variables, manipulate your workspace, work with files, and generate sequences of numbers.
Understanding data structures is essential. In this chapter, you'll start with the simplest and most common data structure in R: the vector. You'll then learn how to deal with missing values, how to subset, and how to work with matrices and data frames.
Logic, functions and the apply family
This chapter introduces more advanced R programming topics like logic, functions, and one of R's most helpful assets: the 'apply' family of functions.
This chapter is a first step towards working with real-world datasets. You’ll learn how look at data, do simulations, and work with dates and times. To end, you will do your first graphical explorations of data.