The following two videos are helpful to understand why we should learn R.
Why Data Scientists Use R? Reasons to learn the R Programming Language
In this chapter, you will take your first steps with R. You will learn how to use the console as a calculator and how to assign variables. You will also get to know the basic data types in R. Let’s get started!
1-1 | 1-2 | 1-3 | 1-4 |
1-5 | 1-6 | 1-7 | 1-8 |
In this R course, we’ll take you on a trip to Vegas, where you will learn how to analyze your gambling results using vectors in R! After completing this chapter, you will be able to create vectors in R, name them, select elements from them and compare different vectors.
2-1 | 2-2 | 2-3 | 2-4 |
2-5 | 2-6 | 2-7 | 2-8 |
2-9 | 2-10 | 2-11 | 2-12 |
2-13 | 2-14 | 2-15 | 2-16 |
In this chapter you will learn how to work with matrices in R. By the end of the chapter, you will be able to create matrices and to understand how you can do basic computations with them. You will analyze the box office numbers of Star Wars to illustrate the use of matrices in R. May the force be with you!
3-1 | 3-2 | 3-3 | 3-4 |
3-5 | 3-6 | 3-7 | 3-8 |
3-9 | 3-10 |
Very often, data falls into a limited number of categories. For example, human hair color can be categorized as black/brown/blonde/red/grey/white (and perhaps a few more options for people who dye it). In R, categorical data is stored in factors. Given the importance of these factors in data analysis, you should start learning how to create, subset and compare them now!
4-1 | 4-2 | 4-3 | 4-4 |
4-5 | 4-6 | 4-7 | 4-8 |
4-9 |
Most data sets you will be working with will be stored as data frames. By the end of this chapter focused on R basics, you will be able to create a data frame, select interesting parts of a data frame and order a data frame according to certain variables.
5-1 | 5-2 | 5-3 | 5-4 |
5-5 | 5-6 | 5-7 | 5-8 |
5-9 | 5-10 | 5-11 | 5-12 |
Lists, as opposed to vectors, can hold components of different types, just like your to-do list at home or at work. This intro to R chapter will teach you how to create, name and subset these lists.
6-1 | 6-2 | 6-3 | 6-4 |
6-5 | 6-6 | 6-7 |