Event box
Introduction to R Part 2: Working with data in R
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 Learning Outcomes
- 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:
- Tuesday, February 6, 2024
- Time:
- 1:00pm - 2:30pm
- Time Zone:
- Eastern Time - US & Canada (change)
- Location:
- Hunt Library - Room 308
- Campus:
- Hunt Library
- Categories:
- Information & Data Literacy CC Open Science Working With Data and Code
In-Person Workshop Information:
Directions for getting to Hunt Library, Room 308:
The Hunt Library Gallery is on the first floor of Hunt Library, shown on the map here. Take the stairs or elevators to the 3rd floor and turn left. You'll find Room 308 around the corner from the water fountain across from the Women's restroom.
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.