See this answer: Implement pause/resume in file downloading
It is intended for download using HTTP, but you can use the same
principles and modify it to fit your use case.
Basically, you need to keep track of how many bytes you've read so
far. When you connect to a new download source, pause the download and
send your current byte count to the new device. That device can then
respond, starting f
You need to calculate the means. Then you can plot them.
df26means <- df26 %>%
summarize(C1 = mean(C1, na.rm = T))
Then add it to your plot:
ggplot(data=df26, aes(x=Month, y=C1, group=Year, colour=factor(Year)))
geom_line(size=.75) + geom_point() +
scale_x_discrete(limits=c("Jan", "Feb", "Mar", "Apr", "May",