*bookmark_border*

**Course Description**

In this introduction to R, you will master the basics of this beautiful open source language, including factors, lists and data frames. With the knowledge gained in this course, you will be ready to undertake your first very own data analysis. With over 2 million users worldwide R is rapidly becoming the leading programming language in statistics and data science. Every year, the number of R users grows by 40% and an increasing number of organizations are using it in their day-to-day activities. Leverage the power of R by completing this R online course today!

Intro to basics

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!

- How it work
- Arithmetic with R
- Variable assignment
- Variable assignment (2)
- Variable assignment (3)
- Apples and oranges
- Basic data types in R

What’s that data type?

Matrices

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!

- What’s a matrix?
- Analyze matrices, you shall
- Naming a matrix
- Calculating the worldwide box office
- Adding a column for the Worldwide box office
- Adding a row
- The total box office revenue for the entire saga
- Selection of matrix elements
- A little arithmetic with matrices

A little arithmetic with matrices (2)

**Data frames**

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.

- What’s a data frame?
- Quick, have a look at your data set
- Have a look at the structure
- Creating a data frame
- Creating a data frame (2)
- Selection of data frame elements
- Selection of data frame elements (2)
- Only planets with rings
- Only planets with rings (2)
- Only planets with rings but shorter
- Sorting
- Sorting your data frame

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.

- Create a vector
- Create a vector (2)
- Create a vector (3)
- Naming a vector
- Naming a vector (2)
- Calculating total winnings
- Calculating total winnings (2)
- Calculating total winnings (3)
- Comparing total winnings
- Vector selection: the good times
- Vector selection: the good times (2)
- Vector selection: the good times (3)
- Vector selection: the good times (4)
- Selection by comparison – Step 1
- Selection by comparison – Step 2
- Advanced selection

**Factors**

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!

- What’s a factor and why would you use it?
- What’s a factor and why would you use it? (2)
- What’s a factor and why would you use it? (3)
- Factor levels
- Summarizing a factor
- Battle of the sexes
- Ordered factors
- Ordered factors (2)
- Comparing ordered factors

**Lists**

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.

- Lists, why would you need them?
- Lists, why would you need them? (2)
- Creating a list
- Creating a named list
- Creating a named list (2)
- Selecting elements from a list
- Adding more movie information to the list

There are no reviews yet.