BEFORE YOU BEGIN:
The videos below will walk you through the following .Rmd file: https://drive.google.com/file/d/1a7A2Yy_ywtbN2ZUrEyitzfQdonchsFz8/view?usp=sharing
Be sure you already have the datafile from Ch. 9 saved.
TABLE OF CONTENTS:
We will be introducing tidyverse packages in R during this lesson. The tidyverse (https://www.tidyverse.org/) is a collection of packages in R for data science. These packages all share a common design philosophy, grammar, and data structure so they can work in harmony together.
Specifically, we will introduce data transformations using the spread and gather packages. to tidy our data – in other words, to get them into the format used by the tidyverse. The following images from Allison Horst detail why and how it is important to tidy our data as well as visually depict how spread and gather alter our data. We also cover this in detail in our video.
Video (0:52)
Note that when working through the .Rmd files, R packages will often need to be installed, and libraries loaded. Do NOT quit R while installing or loading packages and libraries. This can corrupt crucial files. Instead, you can STOP the process (by clicking the red stop sign in the upper right corner of the console) and then quit the program, or wait until the process has been completed.
Video (8:55)
Video (1:52)
Video (8:41)
Video (9:45)
Video (9:33)
Video (6:51)
Video (5:46)
Video (5:45)
If you would like to use R to analyses repeated measures data, you can download and use the below analyses template
drive.google.com/file/d/1yPXIkb9JQWYZwLweK7KFFp4O9sgrcl-S/view?usp=sharing
If you are interested in running a mixed two way repeated measures ANOVA, you can use the following template:
https://drive.google.com/file/d/1N1LxyZw6D42BXKTTeObEx48oSVUB0CzY/view?usp=sharing
Tomlinson, T. Jones, B. and Chicoli, A.Statistics in Social Sciences https://sites.google.com/umd.edu/statisticsinsocialsciences