VOOZH about

URL: https://www.coursera.org/learn/r-programming

⇱ R Programming | Coursera


Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

R Programming

This course is part of multiple programs.

751,159 already enrolled

Included with

β€’

Learn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.5

22,373 reviews

Intermediate level

Recommended experience

Flexible schedule
6 weeks at 10 hours a week
Learn at your own pace
94%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.5

22,373 reviews

Intermediate level

Recommended experience

Flexible schedule
6 weeks at 10 hours a week
Learn at your own pace
94%
Most learners liked this course

What you'll learn

  • Understand critical programming language concepts

  • Configure statistical programming software

  • Make use of R loop functions and debugging tools

  • Collect detailed information using R profiler

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

6 assignments

Taught in English

Build your subject-matter expertise

This course is available as part of
When you enroll in this course, you'll also be asked to select a specific program.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 4 modules in this course

In this course you will learn how to program in R and how to use R for effective data analysis. You will learn how to install and configure software necessary for a statistical programming environment and describe generic programming language concepts as they are implemented in a high-level statistical language. The course covers practical issues in statistical computing which includes programming in R, reading data into R, accessing R packages, writing R functions, debugging, profiling R code, and organizing and commenting R code. Topics in statistical data analysis will provide working examples.

This week covers the basics to get you started up with R. The Background Materials lesson contains information about course mechanics and some videos on installing R. The Week 1 videos cover the history of R and S, go over the basic data types in R, and describe the functions for reading and writing data. I recommend that you watch the videos in the listed order, but watching the videos out of order isn't going to ruin the story.

What's included

28 videos9 readings1 assignment7 programming assignments

28 videosβ€’Total 129 minutes
  • Installing R on a Macβ€’2 minutes
  • Installing R on Windowsβ€’3 minutes
  • Installing R Studio (Mac)β€’2 minutes
  • Writing Code / Setting Your Working Directory (Windows)β€’7 minutes
  • Writing Code / Setting Your Working Directory (Mac)β€’8 minutes
  • Introductionβ€’1 minute
  • Overview and History of Rβ€’16 minutes
  • Getting Helpβ€’14 minutes
  • R Console Input and Evaluationβ€’5 minutes
  • Data Types - R Objects and Attributesβ€’5 minutes
  • Data Types - Vectors and Listsβ€’6 minutes
  • Data Types - Matricesβ€’3 minutes
  • Data Types - Factorsβ€’5 minutes
  • Data Types - Missing Valuesβ€’2 minutes
  • Data Types - Data Framesβ€’3 minutes
  • Data Types - Names Attributeβ€’2 minutes
  • Data Types - Summaryβ€’1 minute
  • Reading Tabular Dataβ€’6 minutes
  • Reading Large Tablesβ€’7 minutes
  • Textual Data Formatsβ€’5 minutes
  • Connections: Interfaces to the Outside Worldβ€’5 minutes
  • Subsetting - Basicsβ€’4 minutes
  • Subsetting - Listsβ€’5 minutes
  • Subsetting - Matricesβ€’3 minutes
  • Subsetting - Partial Matchingβ€’2 minutes
  • Subsetting - Removing Missing Valuesβ€’4 minutes
  • Vectorized Operationsβ€’4 minutes
  • Introduction to swirlβ€’1 minute
9 readingsβ€’Total 90 minutes
  • Welcome to R Programmingβ€’10 minutes
  • About the Instructorβ€’10 minutes
  • Pre-Course Surveyβ€’10 minutes
  • Syllabusβ€’10 minutes
  • Course Textbookβ€’10 minutes
  • Course Supplement: The Art of Data Scienceβ€’10 minutes
  • Data Science Podcast: Not So Standard Deviationsβ€’10 minutes
  • Getting Started and R Nuts and Boltsβ€’10 minutes
  • Practical R Exercises in swirl Part 1β€’10 minutes
1 assignmentβ€’Total 40 minutes
  • Week 1 Quizβ€’40 minutes
7 programming assignmentsβ€’Total 1,260 minutes
  • swirl Lesson 1: Basic Building Blocksβ€’180 minutes
  • swirl Lesson 2: Workspace and Filesβ€’180 minutes
  • swirl Lesson 3: Sequences of Numbersβ€’180 minutes
  • swirl Lesson 4: Vectorsβ€’180 minutes
  • swirl Lesson 5: Missing Valuesβ€’180 minutes
  • swirl Lesson 6: Subsetting Vectorsβ€’180 minutes
  • swirl Lesson 7: Matrices and Data Framesβ€’180 minutes

Welcome to Week 2 of R Programming. This week, we take the gloves off, and the lectures cover key topics like control structures and functions. We also introduce the first programming assignment for the course, which is due at the end of the week.

What's included

13 videos3 readings2 assignments3 programming assignments

13 videosβ€’Total 91 minutes
  • Control Structures - Introductionβ€’1 minute
  • Control Structures - If-elseβ€’2 minutes
  • Control Structures - For loopsβ€’4 minutes
  • Control Structures - While loopsβ€’3 minutes
  • Control Structures - Repeat, Next, Breakβ€’5 minutes
  • Your First R Functionβ€’10 minutes
  • Functions (part 1)β€’9 minutes
  • Functions (part 2)β€’7 minutes
  • Scoping Rules - Symbol Bindingβ€’11 minutes
  • Scoping Rules - R Scoping Rulesβ€’9 minutes
  • Scoping Rules - Optimization Example (OPTIONAL)β€’9 minutes
  • Coding Standardsβ€’9 minutes
  • Dates and Timesβ€’10 minutes
3 readingsβ€’Total 30 minutes
  • Week 2: Programming with Rβ€’10 minutes
  • Practical R Exercises in swirl Part 2β€’10 minutes
  • Programming Assignment 1 INSTRUCTIONS: Air Pollutionβ€’10 minutes
2 assignmentsβ€’Total 60 minutes
  • Week 2 Quizβ€’30 minutes
  • Programming Assignment 1: Quizβ€’30 minutes
3 programming assignmentsβ€’Total 540 minutes
  • swirl Lesson 1: Logicβ€’180 minutes
  • swirl Lesson 2: Functionsβ€’180 minutes
  • swirl Lesson 3: Dates and Timesβ€’180 minutes

We have now entered the third week of R Programming, which also marks the halfway point. The lectures this week cover loop functions and the debugging tools in R. These aspects of R make R useful for both interactive work and writing longer code, and so they are commonly used in practice.

What's included

8 videos2 readings1 assignment2 programming assignments1 peer review

8 videosβ€’Total 61 minutes
  • Loop Functions - lapplyβ€’9 minutes
  • Loop Functions - applyβ€’7 minutes
  • Loop Functions - mapplyβ€’5 minutes
  • Loop Functions - tapplyβ€’3 minutes
  • Loop Functions - splitβ€’9 minutes
  • Debugging Tools - Diagnosing the Problemβ€’13 minutes
  • Debugging Tools - Basic Toolsβ€’6 minutes
  • Debugging Tools - Using the Toolsβ€’8 minutes
2 readingsβ€’Total 20 minutes
  • Week 3: Loop Functions and Debuggingβ€’10 minutes
  • Practical R Exercises in swirl Part 3β€’10 minutes
1 assignmentβ€’Total 30 minutes
  • Week 3 Quizβ€’30 minutes
2 programming assignmentsβ€’Total 360 minutes
  • swirl Lesson 1: lapply and sapplyβ€’180 minutes
  • swirl Lesson 2: vapply and tapplyβ€’180 minutes
1 peer reviewβ€’Total 60 minutes
  • Programming Assignment 2: Lexical Scoping β€’60 minutes

This week covers how to simulate data in R, which serves as the basis for doing simulation studies. We also cover the profiler in R which lets you collect detailed information on how your R functions are running and to identify bottlenecks that can be addressed. The profiler is a key tool in helping you optimize your programs. Finally, we cover the str function, which I personally believe is the most useful function in R.

What's included

6 videos4 readings2 assignments3 programming assignments

6 videosβ€’Total 42 minutes
  • The str Functionβ€’6 minutes
  • Simulation - Generating Random Numbersβ€’8 minutes
  • Simulation - Simulating a Linear Modelβ€’5 minutes
  • Simulation - Random Samplingβ€’3 minutes
  • R Profiler (part 1)β€’11 minutes
  • R Profiler (part 2)β€’10 minutes
4 readingsβ€’Total 40 minutes
  • Week 4: Simulation & Profilingβ€’10 minutes
  • Practical R Exercises in swirl Part 4β€’10 minutes
  • Programming Assignment 3 INSTRUCTIONS: Hospital Qualityβ€’10 minutes
  • Post-Course Surveyβ€’10 minutes
2 assignmentsβ€’Total 60 minutes
  • Week 4 Quizβ€’30 minutes
  • Programming Assignment 3: Quizβ€’30 minutes
3 programming assignmentsβ€’Total 540 minutes
  • swirl Lesson 1: Looking at Dataβ€’180 minutes
  • swrl Lesson 2: Simulationβ€’180 minutes
  • swirl Lesson 3: Base Graphicsβ€’180 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructors

Instructor ratings
4.4 (1,980 ratings)
Johns Hopkins University
37 Coursesβ€’1,689,551 learners

Explore more from Data Analysis

Why people choose Coursera for their career

πŸ‘ Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
πŸ‘ Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
πŸ‘ Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
πŸ‘ Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    68.05%

  • 4 stars

    22.12%

  • 3 stars

    5.82%

  • 2 stars

    2.09%

  • 1 star

    1.89%

Showing 3 of 22373

AB
Β·

Reviewed on Sep 6, 2017

Great course for people who work with data a lot. This course actually helps in looking at data in its basic forms, helps understand transformations better, and gives ideas about playing with it.

AK
Β·

Reviewed on May 26, 2017

This was very engaging, however, the level of expectation and effort needed is much greater than course 1 - ToolBox.This is perhaps the best course on R Programming designed for a small duration.

RR
Β·

Reviewed on Feb 20, 2017

I am pleasantly surprised with the quality of this course. For a beginner, the Swirl exercises are incredibly helpful and I was able to build confidence in working with R because of them. Thank you!

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,