Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
R, ggplot, and Simple Linear Regression
Rating: 4.6 out of 5(3,910 ratings)
44,661 students

R, ggplot, and Simple Linear Regression

Begin to use R and ggplot while learning the basics of linear regression
Created byCharles Redmond
Last updated 5/2015
English

What you'll learn

  • Install R and RStudio
  • Create vectors and data frames in R
  • Plot points and lines with ggplot
  • Access vectors from data frames
  • Group with ggplot
  • Plot residual lines with ggplot
  • Fit a least squares line to a data set
  • Use a least squares line for prediction

Course content

4 sections25 lectures2h 13m total length
  • Introduction2:19
  • Installing R and RStudio2:57

    After this lecture, you should be able to install both R and RStudio on your own computer and start a session in RStudio.

  • A Tour of RStudio2:06

    After this lecture, you will know the functions of the four panels in RStudio.

  • Vectors in R6:32

    After this lecture, you will be able to enter vectors into R, access individual coordinates of vectors, and slice vectors.

  • Data Frames3:35

    After this lecture, you will be able to create a data frame out of several vectors and individually access column vectors of data frames.

Requirements

  • You will need to install both R and RStudio on your computer. We will, however, cover this in the first lecture.

Description

Data science skills are in much demand today, but it is not just the mathematicians, statisticians, and the computer scientists who can benefit from acquiring them. Data science skills are for everyone!

In this course, I help you to begin using R, one of the most important tools in data science, and the excellent graphics package for R, ggplot2. Along the way, I also show you the basics of simple linear regression.

There are no prerequisites. We begin with installation of R and RStudio, and I introduce R and ggplot skills as they are needed as we progress toward an understanding of linear regression.

Students should be able to complete the course within two weeks, working at an easy pace.

Linear regression is a machine learning technique. I hope to create more courses like this one in the future, teaching machine learning, R, ggplot, dplyr, and programming, all at the same time.

Who this course is for:

  • This course is for beginners interested in using R.
  • This course is for beginners interested in learning about the graphics package ggplot2.
  • This course is for beginners interested in learning some basics of linear regression.
  • This course is NOT for those with a background in statistics who use R and are familiar with ggplot2.