This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# example of bar plot with individual subject points for Anya -04/24/2019 | |
# added error bars - 04/25/2019 | |
library(tidyverse) #will need to install this first (run: install.packages("tidyverse")) | |
## fake data | |
data = tibble( # creating a dataframe (aka "tibble") called data | |
subject = rep(1:10,times = 2 ), # making a column/vector of subject numbers (1-10) x2 | |
condition = rep(c("hard", "easy"), each = 10), # making a column/vector of condition names |