Bert Gunter
2021-Nov-10 21:09 UTC
[R] ggplot2: multiple box plots, different tibbles/dataframes
As always, online search (on "ggplot2 help") seemed to bring up useful resources. I suggest you look here (suggested tutorials and resources are farther down the page): https://ggplot2.tidyverse.org/ Bert Gunter On Wed, Nov 10, 2021 at 12:16 PM Rich Shepard <rshepard at appl-ecosys.com> wrote:> > 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 > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Rich Shepard
2021-Nov-10 21:53 UTC
[R] ggplot2: multiple box plots, different tibbles/dataframes
On Wed, 10 Nov 2021, Bert Gunter wrote:> As always, online search (on "ggplot2 help") seemed to bring up useful > resources. I suggest you look here (suggested tutorials and resources are > farther down the page): https://ggplot2.tidyverse.org/Bert, My web search was for multiple boxplots and I didn't see what I wanted. I'll continue reading the ggplot2 third edition and figure it out. Regards, Rich