[R] ggplot2: multiple box plots, different tibbles/dataframes

Rich Shepard r@hep@rd @end|ng |rom @pp|-eco@y@@com
Wed Nov 10 21:16:33 CET 2021


On Wed, 10 Nov 2021, Rich Shepard wrote:

> I have the code to create ggplot2 boxplots using two attributes (e.g.,
> chemical concentration and month) from the same tibble. Is there an
> example from which I can learn how to make boxplots from different
> tibbles/dataframes (e.g., chemical concentrations and monitoring
> location)?

To clarify: I'd like to produce a plot such as Naomi Robbins presents in
figure 4.11 of her book, "Creating More Effective Graphics."

In my case I want to present river boxplots of discharges over each
monitoring site's period of record as a vertical stack of horizontal
boxplots. The northern-most site actually has negative discharges twice a
day as it's tidally influenced at about 125 River Miles from the ocean and
the incoming tides push the water upriver.

Rich



More information about the R-help mailing list