Concordia University

GPDI517 - Reproducible Scientific Analysis with R

This is a 5-hour workshop designed for graduate students from Natural and Social Sciences interested in using R in their research. No prior knowledge of R or programming is required, but familiarity with R would be beneficial. The purpose of the workshop is to teach the basic skills needed for importing, analyzing and visualizing scientific data in R in a reproducible manner.

In this workshop, the following topics will be covered:
- Introducing R environment (the working directory, saving a workspace, running an R script, and installing/using an R package) and simple R commands;
- Creating a data set using two data structures (vectors and data frames);
- Importing data from a file using a readr package;
- Manipulating data using dplyr and data.table packages;
- Plotting graphs using ggplot2 and plotly packages;
- Writing and running an R script.

Participants will need to bring their own laptop, with R (one of the latest versions: 3.4.3 or above) and RStudio installed. To learn how to install R and RStudio, please use the
following resources:
Mac OS:
We will also be using several R packages through the workshop including readr, dplyr, data.table, ggplot2 and plotly.
Here is a quick guide on how to install an R package:

Learning Objectives

Learning objectives:

At the end of this workshop, participants will be able to:
1. Use RStudio environment (including setting the working directory, writing/running an R script, using different data structures, installing and using different R libraries);
2. Import data into R;
3. Write data to files;
4. Manipulate data more efficiently compared to an excel-like program using dplyr;
5. Write and execute an R script;
6. Generate publication-quality graphs using ggplot.

Leaders Information

This workshop is led by Esther Schott. She investigates how babies learn language, and in particular what bilingual infants know about their language environment. She utilizes principles of open science in her research. Esther has been coding in R since 2012 and uses R to analyze data, produce publication-ready figures and created her own website using R.

This workshop is not scheduled at this time.
Back to top

© Concordia University