Liying Wang, Gayoung Park, Delaney Glass, Shane Scaggs & Ben Marwick
Date and time: 01/11/2021 9am-11am Pacific Standard Time
You can register our workshop at this link: https://washington.zoom.us/meeting/register/tJMqd-Gurj4qEtxIVgp7sbfjrLd-wtF-9EjX
Here are our slides
Backup is https://rstudio.cloud/ if you have a problem with your computer.
- Check everyone could download and open R & RStudio
- Check version numbers for R (we want 4.0.2)
- A brief tour of the main panes (Console, Files, Environ, text editor, pkgs and help)
- Have to make sure everyone can make the console work before we move on, e.g. console as a calculator
- Create a new RStudio project
- Run
install.packages("tidyverse")in the console
- Load and take a look at the data
- Intro to the dataframe
- Get basic summary of data
- Select specific columns to simply data
- Select specific data points
- Create a new variable
- Histogram and fill colors
- Scatter plots for multiple variables
- Boxplots
- Add annoatation and reverse x & y axis
- Facet plot and change scales
- Explore themes and add title & labels
- Other plots we can make using ggplot2
Before you join the workshop, please make sure you have the most recent versions of R and RStudio installed on your computer. Here's how to get those programs:
R is a programming language that is especially powerful for data exploration, visualization, and statistical analysis. To interact with R, we use RStudio.
Video TutorialInstall R by downloading and running this .exe file from CRAN. Also, please install the RStudio IDE. Note that if you have separate user and admin accounts, you should run the installers as administrator (right-click on .exe file and select "Run as administrator" instead of double-clicking). Otherwise problems may occur later, for example when installing R packages.
Video TutorialInstall R by downloading and running this .pkg file from CRAN. Also, please install the RStudio IDE.
You can download the binary files for your distribution
from CRAN. Or
you can use your package manager (e.g. for Debian/Ubuntu
run sudo apt-get install r-base and for Fedora run
sudo dnf install R). Also, please install the
RStudio IDE.
Further reading:
Content on this site is licensed under a Creative Commons Attribution 4.0 International license.