Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. plot2012and2018 <- ggplot(GYB, aes(x = Year,)) +
  2. geom_bar(aes(color = Cast, fill = Cast),
  3. stat = "count", position = position_dodge(0.8),
  4. width = 0.7) +
  5. scale_color_manual(values = c("#0073C2FF", "#EFC000FF"))+
  6. scale_fill_manual(values = c("#0073C2FF", "#EFC000FF"))+
  7. labs(y= "Count", x= "Year", title="GYB 2012 and 2018")
  8. plot2012and2018
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement