R Level 1 - Data Analytics with R
4.5 (2,057 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
10,958 students enrolled

R Level 1 - Data Analytics with R

Use R for Data Analytics and Data Mining
4.5 (2,057 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
10,958 students enrolled
Last updated 4/2019
English
English [Auto]
Current price: $118.99 Original price: $169.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 7.5 hours on-demand video
  • 4 articles
  • 16 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • this course will show you how the most common types of graphs can be produced with R base
  • you will get a good understanding of functions and loops in R which are very useful programming skills to have
  • you will get the necessary theoretical background for R
  • you will learn how to create and handle different types of objects
  • you will get fluent in the R programming language to master your specific quantitative tasks
Course content
Expand all 87 lectures 08:42:15
+ Theoretical background
12 lectures 40:00

In this lecture you will learn about basic and logical operators in R.

Operators in R
05:23

In this video you will learn about the different types of objects in R:

Vectors (1 dimension, 1 data type)

Matrices (2 dimensions, 1 data type)

Arrays (x dimensions, 1 data type)

Data frames (2 dimensions, x data types)

Lists (1 dimension, x data types)

Preview 10:36

In this video you will learn how to use mode/typof to identify data types in a vector.

Data types
05:44

Data Types script

Data types script
4 pages

In this lecture you will learn how to create random numbers in three different distributions:

Normal distribution

Poison distribution

Uniform distribution

Random number generation
06:00

Take a few minutes to go through this exercise and see if you understood the lecture.

Exercise random number generation
01:10

Presentation of the solution

Solution random number generation
04:19
Random number generation script
4 pages

In this video you will learn how to import and export csv files from/to R.

CSV (comma seperated values) is the best way to interact with Excel.

Export/Import of Excel files
06:48
Data export/import script
2 pages
+ Creating objects
14 lectures 38:29

In this video you will learn:

basics about matrices

rows - columns

creating diagonal matrices

extracting a vector out of a matrix

transposing

Matrices part 1
06:36

In this video you will learn:

getting the inverse of a matrix

matrix multiplication

crossproducts

solving equation systems

summary

Matrices part 2
04:46

You can find the solution skript at the bottom of the matrices skript

Exercise matrices
00:37

Presentation of the solution

Solution matrices
01:18
Matrices script
5 pages

In this video you will learn about:

definition of a list

how to create a list

naming lists

elements of a list

length of lists

extracting elements out of a list

combining lists

mode of a list

Lists in R
07:10

Take a few minutes to go through the exercises. At the end of the video you will see the solution.

Exercise and solution Lists in R
01:40
Lists script
3 pages

In this video you will learn:

basics about data frames

structure of data frames

creating data frames

adding vectors to data frames

attach function

handling and extracting subsets of data frames

Data Frames part 1
04:58

In this video you will learn:

extracting columns, rows and specific values out of a data frame

filtering according to specific criteria and logical operations

summary

Data Frames part 2
05:12

In this video you will learn how you can use factors to handle character vectors.

Factors
02:28

Take a few minutes to solve this exercises. At the end of this video I will present the solution.

Exercise and solution Data Frames
03:44
Data frames script
6 pages
Factors script
1 page
+ Functions in R
6 lectures 22:25

In this video you will get a general idea about functions in R.

You will learn about the syntax.

Preview 03:48

In this video you will learn how you can use ... to create open ended functions.

Open ended functions
02:35

In this video you will learn about the ifelse statement.

You will also see a summary about the functions section.

Ifelse statement and summary
06:47

Try to solve the exercises in this video. At the end of the video you will find the solution.

Exercise and solution functions
07:12
Functions script
8 pages
Functions Script txt
02:03
+ Loops
7 lectures 32:57

In this video you will get a general introduction about loops in R. I am also discussing the If statement.

Introduction to loops and If statement
06:27

In this video you will learn about the For loop

For loop
06:01

In this video you will learn about the While loop

While loop
04:29

In this video you will learn about the repeat loop.

You will also see a brief summary about what we learned on loops in R.

Repeat loop and loop summary
06:11

Please take the time to solve the exercises I prepared for you in this video. At the end you will also find the solutions to it.

Exercise and solution loop part 1
06:13

This exercise is a bit harder. Try to calculate the prime numbers by using loops.

Exercise and solution loop part 2 - hard
03:36
Loop script
12 pages
+ Apply family
8 lectures 40:51

In this video you will learn:

general introduction to the apply family

apply function

Introduction to the apply family
05:19

In this lecture about the apply family of funxtions you will learn:

tapply function

by function

Tapply and the by command
06:45

In this video you will learn about the following functions of the apply family:

eapply

lapply

sapply

Eapply, sapply, lapply
04:53

In this video you will learn about the following functions of the apply family:

vapply

replicate

mapply

Vapply, replicate, mapply
06:22

In this video you will learn more about rapply and you will also get a summary of the apply functions.

Rapply and summary
08:22

Take the time to solve this exercises I prepared for you. In the next video I will present the solution.

Apply family exercises
03:35

In this video I am presenting the solutions to the apply exercises

Apply family solutions
05:35
Apply family script
11 pages
+ Graphs in R
12 lectures 47:37

In this section you will learn more about graphs in R.

Graphs in R
02:28

This is a brief introduction to the graphical parameters in R.

Graphical parameters
04:26

In this video you learn how you can create boxplots:

adding means to your boxplot

adding different colours

boxplot terminology

Boxplots
07:18

In this video you will learn about the different ways in which you can export and store your graphs.

Exporting graphs
01:18

Take your time to solve this boxplot exercise and test your knowledge. In the next video you will find the solution.

Exercise boxplots
01:43

Here you can find the solution to the boxplot exercise.

Solution boxplots
02:39

In this video you will learn how to create pie charts in R:

labelling pie charts

pie charts with data frames

3D pie charts (using plotrix)

Please note that you should download the library "plotrix" for this lesson

Piecharts
08:24

In this video you will learn how to create histograms in R:

modifying the bin count

labelling

modifying the axes

frequency vs density

adding curves to histograms

Histograms
07:07

Try to resemble the histogram I present to you in this video. At the end you will find the solution.

Exercise and solution histograms
02:43

In this video you will learn how you can put several datasets into one scatterplot.

You will also learn about legends.

Advanced scatterplots and legends
05:46

Take a few minutes to solve this scatterplot exercise. At the end of the video you will find the solution.

Preview 03:45
Graphs script
10 pages
+ Advanced topic: working with strings
7 lectures 30:25
Working with Strings - Introduction
05:45
Working with Strings - gsub
07:42
Working with Strings - gsub advanced
05:23
Regular Expressions Overview
2 pages
Working with Strings - Library Stringr
05:10
Exercise and Solution: Strings in R
03:46
Code Section: Strings
02:39
+ Using the R Commander GUI
4 lectures 26:03
R Commander Intro
05:07
Installation Hints
00:03
Getting Data into RCmdr
12:52
Modeling with RCmdr
08:01
Requirements
  • interest in statistical programming
  • R and RStudio ready on your computer
  • basic understanding of statistics and data structure
Description

Are you new to R?

Do you want to learn more about statistical programming?

Are you in a quantitative field?

You just started learning R but you struggle with all the free but unorganized material available elsewhere?

Do you want to hack the learning curve and stay ahead of your competition?

If your answer is YES to some of those points - read on!

This Tutorial is the first step - your Level 1 - to R mastery.

All the important aspects of statistical programming ranging from handling different data types to loops and functions, even graphs are covered.

While planing this course I used the Pareto 80/20 principle. I filtered for the most useful items in the R language which will give you a quick and efficient learning experience.

Learning R will help you conduct your projects. On the long run it is an invaluable skill which will enhance your career.

Your journey will start with the theoretical background of object and data types. You will then learn how to handle the most common types of objects in R. Much emphasis is put on loops in R since this is a crucial part of statistical programming. It is also shown how the apply family of functions can be used for looping.

In the graphics section you will learn how to create and tailor your graphs. As an example we will create boxplots, histograms and piecharts. Since the graphs interface is quite the same for all types of graphs, this will give you a solid foundation.

With the R Commander you will also learn about an alternative to RStudio. Especially for classic hypthesis tests the R Coomander GUI can save you some time.

According to the teaching principles of R Tutorials every section is enforced with exercises for a better learning experience. Furthermore you can also check out the r-tutorials R exercise database over at our webpage. In the database you will find more exercises on the topics of this course.

You can download the code pdf of every section to try the presented code on your own.

This tutorial is your first step to benefit from this open source software.

What R you waiting for?

Martin

Who this course is for:
  • scientists
  • data analysts
  • entrepreneurs
  • web developers
  • anybody interested in statistical programming