- 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.
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.
You can examine and specify code to fit your perameters.
This workshop will have 3 sections:
- Learn about tidyverse, R, and RStudio
- Learn about data frames
- Read in our dataset
- Summary statistics
- Restrucruing data using 'pipes'
- Making a box and whisker plot
- Making a scatter plot
- Adding a linear regression line to a scatter plot