This material was developed by the DIME Analytics team as an introduction to R.
R is a programming language for statistical analysis and data science. It is a powerful and flexible tool widely used among statisticians and data scientists, and has a growing user base in economics research. This course is designed to familiarize participants with the language, focusing on common tasks and analysis in development research, and showing how to use R through RStudio, a popular integrated development environment for R.
The first sessions of the course will build upon comparisons to Stata syntax and requires familiarity with the use of do-files, loops and locals. All sessions are designed to last 90 minutes. Participants need to have R and RStudio installed to follow each session.
- Introduction to the RStudio interface, R syntax, objects and classes.
Formats:
02 - Introduction to R programming
- Code organization, R libraries, loops, custom functions, and R programming practices.
Formats:
- Basic functions for processing data using the tidyverse meta library.
Formats:
- An introduction to creating and export graphs in
ggplot2
.
Formats:
- How to create and export descriptive statistics table in R.
Formats:
- An overview of R resources on GIS.
Formats:
- An introduction to dynamic documents and R Markdown.
Formats:
This material is developed under MIT license. See http://adampritchard.mit-license.org/ or see the LICENSE
file for details.
Luis Eduardo San Martin - dimeanalytics@worldbank.org
- Luiza Cardoso de Andrade
- Marc-Andrea Fiorina
- Robert A. Marty
- Maria Reyes Retana Torre
- Rony Rodriguez Ramirez
- Luis Eduardo San Martin
- Leonardo Teixeira Viotti