# NOT RUN {
ggplot(data = ENGINEER, aes(x = university, y = salary, fill = university)) +
geom_boxplot() + guides(fill = "none") + scale_fill_brewer() +
labs(y = "salary 10 years after graduation \n in thousands of dollars")
# Violin Plots
ggplot(data = ENGINEER, aes(x = university, y = salary, fill = university)) +
geom_violin() + guides(fill = "none") + scale_fill_brewer() +
labs(y = "salary 10 years after graduation \n in thousands of dollars")
# }
Run the code above in your browser using DataLab