Event box

Data Manipulation in R: Session 3: How can I select or rename columns, or sum across columns? Online
About the series
This is an intermediate-level series on R on data manipulation in R, focusing on methods for merging and reshaping data. It will offer both base-R and tidyverse solutions. The series assumes some prior exposure to base R (such as through the prior series, A Slower Introduction to R).
The series will draw on data examples from the health sciences (including public health and medicine).
Each session (scheduled for 1.5 hours, but we may finish earlier on occasion) will involve short mini lectures, interspersed with hands-on exercises.
Registration for each session requires UCSF MyAccess credentials.
The CLE for this series is available here.
About this session
Each session is titled in the form of a "How can I..." question. This second session is titled "How can I get select, drop, or rename variables?" and will cover:
- selecting variables using select() or bracket notation
- dropping variables using select() or bracket notation
- renaming variables using rename(), rename_with(), or bracket notation
- sum across columns using rowSums() or mutate()
Participants are strongly encouraged to review the prior session.
About the instructor
The instructor, Yea-Hung Chen, PhD, MS, has 10 years of experience teaching R to the UCSF community. He designed and taught UCSF's first-ever R course (Biostat 213) and taught the introductory biostatistics course for UCSF's MS in Global Health program (GHS 207).
Accessibility statement
Slides will be available on the Course Learning Environment at least 24 hours prior to each session. Learners are welcome to use recording or closed-captioning features embedded in the Zoom platform. To request reasonable accommodation for this session, please email the instructor (yea-hung.chen@ucsf.edu) as soon as possible.
- Date:
- Thursday, May 1 2025
- Time:
- 10:00am - 11:30am
- Time Zone:
- Pacific Time - US & Canada (change)
- Campus:
- Online
- Online:
- This is an online event. Event URL will be sent via registration email.
- Categories:
- Data Science