Displaying 1 result from an estimated 1 matches for "suppless".
Did you mean:
suppress
2017 Oct 05
0
Adding non-data line to legend ggplot2 Maximum Contaminant Level
Well, here is one way but it seems a bit clumsy.
In words, I created a new data.frame with "250" in the Chloride vector and "SMCL" in the Detections vector and supplessed one legend.
Warning: For my convenience I am using different data.frame names .
library(ggplot2)
MyData <-read.csv("http://doylesdartden.com/Stats/TimeSeriesExample.csv", sep=",")
MyData$Detections <- ifelse(MyData$D_Chloride ==1, "Detected", "NonDete...