idocs / test1

Apache License 2.0
122 stars 15 forks source link

Grammar of Graphics Exercise 2 #5

Open ghost opened 7 years ago

ghost commented 7 years ago

Can you please help me with Grammar of Graphics exercise 2? I am having trouble creating same kind of graph? Does it require geom_rect to do so? I have a long vector of TRUE/FALSE categorical variables and want to colour depending on that but geom_ribbon fails miserably.