R Fundamentals: Parts 1-4

October 3, 2022, 4:00pm to October 12, 2022, 7:00pm

To receive a Zoom link after registering above, please fill out the affiliations form if you have not done so at least once before: https://dlab.berkeley.edu/affiliations

Location: Remote via Zoom. Link will be sent on the morning of the event.

Recordings: This D-Lab workshop will be recorded and made available to UC Berkeley participants for a limited time. Your registration for the event indicates your consent to having any images, comments and chat messages included as part of the video recording materials that are made available.

Date & Time: This workshop is a 4-part series running from 4pm-7pm each day:

  • Part 1: Monday, October 3
  • Part 2: Wednesday, October 5
  • Part 3: Monday, October 10
  • Part 4: Wednesday, October 12

Start Time: D-Lab workshops start 10 minutes after the scheduled start time (“Berkeley Time”). We will admit all participants from the waiting room at that time.

Description

This workshop is a four-part introductory series that will teach you R from scratch with clear introductions, concise examples, and support documents. You will learn how to download and install the open-sourced R Studio software, understand data and basic manipulations, import and subset data, explore and visualize data, and understand the basics of automation in the form of loops and functions. After completion of this workshop you will have a foundational understanding to create, organize, and utilize workflows for your personal research.

Each of the parts is divided into a lecture-style coding walkthrough interrupted by challenge problems, discussions of the solutions, and breaks. Instructors and TAs are dedicated to engaging you in the classroom and answering questions in plain language. 

Prerequisites: None

Part 1: Introduction

Learn how to navigate the R Studio environment. You will also learn how to store data, characteristics of basic data types and data, the importance of data frames (think Excel spreadsheets), and how to save your work.

Part 2: Subsetting and Reshaping

You will then be introduced to loading data from files and various ways to subset it with an emphasis on bracket notation. You will also learn how to use logical vectors, search for and subset missing data, and merge data frames. 

Part 3: Data Exploration and Visualization

Students will be introduced to data exploration and analysis in R. You will learn how to summarize data and explore it with histograms, scatterplots, and boxplots using ggplot.

Part 4: Control Structures

In the final part, we will cover how to use programming control structures such as functions, for-loops, and if-else statements to make more readable and re-usable code.

Workshop Materials: https://github.com/dlab-berkeley/R-Fundamentals

Software Requirements: Installation Instructions for R and RStudio

Is RStudio Not working on your laptop?
Attend the workshop anyway, we can provide you with a cloud-based solution until you figure out the problems with your local installation.

Feedback: After completing the workshop, please provide us feedback using this form.

Questions? Email: dlab-frontdesk@berkeley.edu