-1

enter image description here

I have this data frame from which I want to compare the variables disp_scene and day_of_week through a graph. However, I want to combine the days of the week (mon, tues, etc) into one variable and weekends(sat, sun) into another variable, and then compare the average disp_scene for both of these and also plot the individual disp_scene quatities on a bar plot for their given day of the week. How can I do this?

Adam Quek
  • 5,930
  • 1
  • 13
  • 23
moloa
  • 1
  • Hello and welcome to stack overflow. Here, we try to answer programming questions. We're not a data visualisation service. Please provide data and code of your attempts so far to put us in a position to help you. Have a look at [How to make a great R reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example). – teunbrand Jun 02 '22 at 06:25

0 Answers0