Jeffrey Pullin
2019-Dec-01 02:35 UTC
[R] Adding a legend to a (multi-facet) plot produced by ggplot().
Hi Rolf, Some code to produce the plot you want is here: https://gist.github.com/jeffreypullin/be752f11a136601ffecddc73ba0519b9 Hope you find it helpful. Personally I have found that the key to effective ggplot2 use is getting your data into the right format (one data.frame, tidy style) before you plot it. Cheers Jeffrey [[alternative HTML version deleted]]