Skip to content

Short workshop (~1.5-2 hours) to teach the basics of data manipulation and visualization using tidyverse. The target audience are students with no to little experience with R and RStudio.

Notifications You must be signed in to change notification settings

eabowman/TidyverseWorkshopFeb2020

Repository files navigation

TidyverseWorkshopFeb2020

Objectives

  • Read data into RStudio
  • Explain the basics of tidyverse and what it is used for
  • Create summary statistics for a dataset
  • Restructure and manipulate datasets
  • Create a box and whisker plot
  • Create a scatter plot with a line of best fit

This is an introduction to tidyverse and is meant for people with no or limited knowledge of R and RStudio. This 1.5 hour workshop was taught at the University of Arizona Feb. 18, 2020. It was adapted and modified by Elizabeth Bowman from the DataCarpentry tutorial 'Data Manipulation usign dplyr and tidyr' (https://datacarpentry.org/R-ecology-lesson/03-dplyr.html) to fit the time frame and the audience.

Why R?

R is an useful and worthwhile tool for scientists. It is collaborative as it's easy to share code. It is reproducible as code and data can be shared, so research is transparent. It is versatile in that it can be adapted and applied across disciplines.

Infographic listing 3 reasons why R is useful for scientists

You can examine and specify code to fit your perameters. Plot of weight as a function of hindfoot length and divided by sex and year

This workshop will have 3 sections:

  1. Basics
  • Learn about tidyverse, R, and RStudio
  • Learn about data frames
  • Read in our dataset
  1. Data manipulation
  • Summary statistics
  • Restrucruing data using 'pipes'
  1. Data visualization
  • Making a box and whisker plot
  • Making a scatter plot
  • Adding a linear regression line to a scatter plot

About

Short workshop (~1.5-2 hours) to teach the basics of data manipulation and visualization using tidyverse. The target audience are students with no to little experience with R and RStudio.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published