IntRo: An introduction to R for epidemiologists
Markdown notebooks illustrating the basics of R and the tidyverse for Epidemiology & related fields.
Where to start: after installing R and RStudio, download these files (Click "Clone or download", "Download ZIP"), unzip, and open intRo1.Rmd
.
- The basics (User interface, Markdown notebooks, assignment, functions, using datasets)
- Data import and visualisation (Packages, data import with csv/xls/dta, basics of ggplot2 for histograms, scatterplots and bar charts)
- Data summarisation (
%>%
and%$%
pipes, summarising continuous and categorical variables, subsetting data) - Data manipulation and export (calculate new variables,
%<>%
pipe, categorise continuous variables, regroup a categorical variable) - Data cleaning: to be uploaded 18/05/2020
The datasets are completely simulated.
Author: Andrea Mazzella