Event box

Introduction to R Part 2: Working with data in R

Introduction to R Part 2: Working with data in R Online

This 2-part introductory workshop aims to teach basic concepts, skills, and tools for working with data in R so that you can get more done in less time, and apply concepts of reproducibility to your research. This is an introduction to R designed for participants with no programming experience. Part 1 of the workshop covers basic information about R syntax and the RStudio interface, including installing packages and working with vectors. Part 2 will cover importing CSV files, working with dataframes, how to deal with factors, how to add/remove rows and columns using the popular dplyr package, and how to calculate summary statistics from a data frame. Taking Part 1 and Part 2 is encouraged, but optional.


Learners should bring a laptop and should already have installed R and RStudio on their computer. Installation and set-up instructions, as well as a detailed curriculum for the workshop can be found here.

Part 2

  • Install packages and load libraries in R.
  • Import a dataset and use tidyverse functions to explore dataset attributes.
  • Create subsets of dataframes.
  • Work with categorical variables in R.
  • Use the dplyr package to select columns and filter rows.
  • Use the dplyr package to perform various operations on a dataframe such as creating new variables, splitting and combining data, and summarizing data.
  • Use pipes in R to string together a series of steps.
  • Export a data set from R Studio.
Date:
Wednesday, February 21, 2024
Time:
9:00am - 10:30am
Time Zone:
Eastern Time - US & Canada (change)
Campus:
Virtual Workshop
Categories:
  Open Science     Working With Data  
Online:
This is a virtual event. A URL to participate will be sent via a reminder email 24 hours before the event.
Registration has closed.

Virtual Workshop Information:

  • The link to join this event will be found in your reminder email 24 hours before the event. 
  • Please join a few minutes early to ensure that your audio setup is working correctly.
  • All events are shown in Pittsburgh time. Visit this time zone converter to see when this event will take place in your time zone.

Workshops and events for Carnegie Mellon University Libraries are open to all, regardless of race, color, national origin, sex, disability, age, sexual orientation, gender identity, religion, creed, ancestry, belief, veteran status or genetic information. All participants are required to follow the Code of Conduct.

If you require accessibility accommodations, please contact the event organizer.

Presenter(s)

Profile photo of Sarah Young
Sarah Young