Hi, I am working on making a graph of spawning stock biomass for spiny dogfish over time. Throughout my timeline, quotas have changed and I wanted to indicate those years along the line graph by changing colors of portions of the graph. So far, I just added a column with the quota status and had it set by color, but it gives me a broken up graph. I was wondering if someone knew of a way to join all the pieces, or if there was an alternate way to do this whole thing.
Thanks in advance for any advice!
|YEAR||AVERAGE FEMALE SSB||QUOTA STATUS|
ggplot(SSB) + (aes(x = YEAR, y = AVERAGE.FEMALE.SSB, color = QUOTA.STATUS )) + geom_line()