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

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Wed Nov 10 22:09:47 CET 2021


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 using 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 using 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.



More information about the R-help mailing list