CS50's Introduction to Programming with R
- Free
- Certificate included
- Course certificate
- 7 weeks
CS50's Introduction to Programming with R teaches programming through R, the language widely used for statistical computing and graphics. You work in RStudio and learn to represent data with vectors, matrices, arrays, lists and data frames; filter data with conditions; apply functions and loops to manipulate and summarise data sets; write your own functions and raise exceptions when something goes wrong; tidy data with the tidyverse; and build visualisations with R's grammar of graphics. The course ends with packaging, testing and sharing R code for others to use. Its seven weeks of material each combine a lecture, recommended shorts and a problem set based on real-world data sets, and there is a final project.
The course is free to take through Harvard's OpenCourseWare, with a free edX account needed to submit work for feedback. Scoring at least 70% on every problem and the final project earns a free CS50 Certificate, and a verified certificate is available from edX for a fee. Harvard says the course can be taken before, during or after CS50x.
What you’ll learn
- Work in RStudio and represent data with vectors, matrices, lists and data frames
- Filter and summarise data with conditions, functions and loops
- Write functions and raise exceptions
- Tidy data with the tidyverse
- Create visualisations with R's grammar of graphics
- Package, test and share R code
Who it’s for
People heading into data analysis or statistics who want to learn R as a first or second language.
Source: Harvard Online (opens in a new tab) · Verified · Report a change
More free Harvard courses
Every Harvard course we have verified, with cost and certificate terms compared.
ProgrammingAll free programming courses
Free and free-to-audit programming courses from every provider, ranked.