Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Polynomial Regression, R, and ggplot
Rating: 4.6 out of 5(1,353 ratings)
27,802 students

Polynomial Regression, R, and ggplot

Learn how to write and graph functions in R and how to fit polynomials to data sets.
Created byCharles Redmond
Last updated 5/2015
English

What you'll learn

  • Write functions in R.
  • Graph functions with ggplot.
  • Fit polynomials to data sets.
  • Fit smoothing splines to data sets.

Course content

2 sections13 lectures1h 5m total length
  • Introduction1:43

    In this lecture, I introduce myself and the course, and I give you a brief overview of the topics we will cover.

  • A Review of Functions2:30

    In this lecture, I will review for you the definition of a function from your early mathematics classes. I will focus exclusively on polynomials.

  • Creating Functions in R3:54

    After this lecture, you will be able to write your own functions in R. I will focus exclusively on functions with just one parameter, and even then I will focus just on polynomials.

  • Plotting Functions with ggplot7:53

    After this lecture, you will be able to plot your own functions with ggplot.

  • Polynomials2:17

    After this lecture you will understand what a polynomial is.

Requirements

  • Students will need to have R and RStudio installed on their own computers.
  • It will be best if students have the background one would get by viewing my course "R, ggplot, and Simple Linear Regression".

Description

This course is a sequel to my course "R, ggplot, and Simple Linear Regression". Here we take on polynomial regression and learn how to fit polynomials to data sets. Along the way, we will learn how to write our own functions in R and how to graph them with ggplot. At the conclusion of the course, we will learn how to fit a smoothing spline to data sets.

At a relaxed pace, it should take about a week to complete the course. You will need to have R and RStudio installed, and it would be best if you have a background in R and ggplot equivalent to what you would get if you viewed my first course mentioned above.

Who this course is for:

  • This course is for those looking to learn more about R.
  • This course is for those looking to learn more about ggplot.
  • This course is for those looking to understand polynomial regression.