About this Course
4.6
12,708 ratings
2,657 reviews
Specialization

Course 2 of 10 in the

100% online

100% online

Start instantly and learn at your own schedule.
Flexible deadlines

Flexible deadlines

Reset deadlines in accordance to your schedule.
Intermediate Level

Intermediate Level

You should have beginner level experience in Python. Familarity with regression is recommended.

Hours to complete

Approx. 20 hours to complete

Suggested: 7 hours/week...
Available languages

English

Subtitles: English, Arabic, French, Chinese (Simplified), Vietnamese, Japanese...

What you will learn

  • Check

    Collect detailed information using R profiler

  • Check

    Configure statistical programming software

  • Check

    Make use of R loop functions and debugging tools

  • Check

    Understand critical programming language concepts

Skills you will gain

Data AnalysisDebuggingR ProgrammingRstudio
Specialization

Course 2 of 10 in the

100% online

100% online

Start instantly and learn at your own schedule.
Flexible deadlines

Flexible deadlines

Reset deadlines in accordance to your schedule.
Intermediate Level

Intermediate Level

You should have beginner level experience in Python. Familarity with regression is recommended.

Hours to complete

Approx. 20 hours to complete

Suggested: 7 hours/week...
Available languages

English

Subtitles: English, Arabic, French, Chinese (Simplified), Vietnamese, Japanese...

Syllabus - What you will learn from this course

Week
1
Hours to complete
25 hours to complete

Week 1: Background, Getting Started, and Nuts & Bolts

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. ...
Reading
28 videos (Total 129 min), 9 readings, 8 quizzes
Video28 videos
Installing R on Windows3m
Installing R Studio (Mac)1m
Writing Code / Setting Your Working Directory (Windows)7m
Writing Code / Setting Your Working Directory (Mac)7m
Introduction1m
Overview and History of R16m
Getting Help13m
R Console Input and Evaluation4m
Data Types - R Objects and Attributes4m
Data Types - Vectors and Lists6m
Data Types - Matrices3m
Data Types - Factors4m
Data Types - Missing Values2m
Data Types - Data Frames2m
Data Types - Names Attribute1m
Data Types - Summarym
Reading Tabular Data5m
Reading Large Tables7m
Textual Data Formats4m
Connections: Interfaces to the Outside World4m
Subsetting - Basics4m
Subsetting - Lists4m
Subsetting - Matrices2m
Subsetting - Partial Matching1m
Subsetting - Removing Missing Values3m
Vectorized Operations3m
Introduction to swirl1m
Reading9 readings
Welcome to R Programming10m
About the Instructor10m
Pre-Course Survey10m
Syllabus10m
Course Textbook10m
Course Supplement: The Art of Data Science10m
Data Science Podcast: Not So Standard Deviations10m
Getting Started and R Nuts and Bolts10m
Practical R Exercises in swirl Part 110m
Quiz1 practice exercise
Week 1 Quiz40m
Week
2
Hours to complete
12 hours to complete

Week 2: Programming with R

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....
Reading
13 videos (Total 91 min), 3 readings, 5 quizzes
Video13 videos
Control Structures - If-else1m
Control Structures - For loops4m
Control Structures - While loops3m
Control Structures - Repeat, Next, Break4m
Your First R Function10m
Functions (part 1)9m
Functions (part 2)7m
Scoping Rules - Symbol Binding10m
Scoping Rules - R Scoping Rules8m
Scoping Rules - Optimization Example (OPTIONAL)9m
Coding Standards8m
Dates and Times10m
Reading3 readings
Week 2: Programming with R10m
Practical R Exercises in swirl Part 210m
Programming Assignment 1 INSTRUCTIONS: Air Pollution10m
Quiz2 practice exercises
Week 2 Quiz20m
Programming Assignment 1: Quiz20m
Week
3
Hours to complete
10 hours to complete

Week 3: Loop Functions and Debugging

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....
Reading
8 videos (Total 61 min), 2 readings, 4 quizzes
Video8 videos
Loop Functions - apply7m
Loop Functions - mapply4m
Loop Functions - tapply3m
Loop Functions - split9m
Debugging Tools - Diagnosing the Problem12m
Debugging Tools - Basic Tools6m
Debugging Tools - Using the Tools8m
Reading2 readings
Week 3: Loop Functions and Debugging10m
Practical R Exercises in swirl Part 310m
Quiz1 practice exercise
Week 3 Quiz10m
Week
4
Hours to complete
11 hours to complete

Week 4: Simulation & Profiling

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....
Reading
6 videos (Total 42 min), 4 readings, 5 quizzes
Video6 videos
Simulation - Generating Random Numbers7m
Simulation - Simulating a Linear Model4m
Simulation - Random Sampling2m
R Profiler (part 1)10m
R Profiler (part 2)10m
Reading4 readings
Week 4: Simulation & Profiling10m
Practical R Exercises in swirl Part 410m
Programming Assignment 3 INSTRUCTIONS: Hospital Quality10m
Post-Course Survey10m
Quiz2 practice exercises
Week 4 Quiz20m
Programming Assignment 3: Quiz20m
4.6
2,657 ReviewsChevron Right
Career direction

28%

started a new career after completing these courses
Career Benefit

83%

got a tangible career benefit from this course
Career promotion

11%

got a pay increase or promotion

Top Reviews

By EJJul 12th 2016

Excellent course! I already knew a lot about R - but this class helped me solidify what I already knew, taught me lots of new tricks, and now I have a certificate that says I know `something' about R!

By AKMay 27th 2017

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

Instructors

Avatar

Roger D. Peng, PhD

Associate Professor, Biostatistics
Bloomberg School of Public Health
Avatar

Jeff Leek, PhD

Associate Professor, Biostatistics
Bloomberg School of Public Health
Avatar

Brian Caffo, PhD

Professor, Biostatistics
Bloomberg School of Public Health

About Johns Hopkins University

The mission of The Johns Hopkins University is to educate its students and cultivate their capacity for life-long learning, to foster independent and original research, and to bring the benefits of discovery to the world....

About the Data Science Specialization

Ask the right questions, manipulate data sets, and create visualizations to communicate results. This Specialization covers the concepts and tools you'll need throughout the entire data science pipeline, from asking the right kinds of questions to making inferences and publishing results. In the final Capstone Project, you’ll apply the skills learned by building a data product using real-world data. At completion, students will have a portfolio demonstrating their mastery of the material....
Data Science

Frequently Asked Questions

  • Once you enroll for a Certificate, you’ll have access to all videos, quizzes, and programming assignments (if applicable). Peer review assignments can only be submitted and reviewed once your session has begun. If you choose to explore the course without purchasing, you may not be able to access certain assignments.

  • 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. If you only want to read and view the course content, you can audit the course for free.

More questions? Visit the Learner Help Center.