library(ggplot2) ### <- this is a package in R to create pretty plots.
## setwd() is a function to set my working directory (folder where the data is located)
setwd("C:/Users/emontenegro1/Documents/MEGA/stanStateDocuments/PSYC3000/lecture4")
rumination <- read.csv("ruminationComplete.csv")
rumination$sex <- factor(rumination$sex, labels = c("female", "male"))
ggplot(data = rumination, aes(x = sex)) +
geom_bar()+ theme_bw()