Concordia University

GPDI547 - Advanced Functions in R

R is becoming an increasingly popular coding language used by researchers for the most complex data analysis tasks. In order to tap into the true power of R, some more advanced knowledge of R functions is required. These functions allow users to optimize code for repetitive tasks, reduce coding mistakes, improve reproducibility and save time. For example, it is possible to import a thousand files or run a thousand regressions using one line of code!

In this workshop, the following topics will be covered:
- Session I: The apply family of functions
- Session II: Writing loops

Participants will need to bring their own laptop with R (version 3.4 or above) and Rstudio installed. Advanced R knowledge is required.

Learning Objectives

In this workshop participants will:
1. Use the tapply function to perform several functions by factor levels
2. Use the lapply function to import multiple files
3. Use the lapply function to run multiple regressions and generate multiple plots
4. Convert a list type of object to a data frame while retaining original information
5. Write a loop

Leaders Information

This workshop is led by Yara Abu Awad, ScD, a Harvard University trained epidemiologist with expertise analyzing big data by applying causal inference methods and machine learning techniques using R. She is currently at the Department of Psychology investigating the impact of stress on obesity among children, the impact of parental expectations on children’s sleep quality and the impact of social inequalities on children’s health.


Section 1
March 24-31, 2020, 17:00 - 19:00, Tue

Disclaimer: Available spots is an estimation.
Back to top Back to top

© Concordia University