For as long as I have been working with water data, I wanted to construct a line graph superimposed on a box and whisker plot where the boxes show the distribution of values and the line shows some current condition.  One of my favorite things about ggplot2 is that it allows users to construct complex combinations of graphs in ways that make sense.

This plot shows daily mean flow values in the Schuylkill River (the blue line) against box plots of the rolling 20-year set of daily mean values.  In this instance, flows in the lower part of the river are higher than the 75th percentile flow value, while flows in the upper part of the river are within the interquartile range.  Each point (and box plot) represents data from a USGS gage retrieved using the dataRetrieval library.
4
My Blog List
My Blog List
Subscribe
Subscribe
Blog Archive
About Me
About Me
I am an engineer working in water resources and the environmental field. On the side, I work with small businesses to help automate their data processing functions. I offer reasonable rates and am very efficient. Send me an e-mail at JYagecic@gmail.com
Loading
Copyright 2016. Dynamic Views theme. Powered by Blogger. Report Abuse.