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

Rich Shepard r@hep@rd @end|ng |rom @pp|-eco@y@@com
Thu Nov 11 16:46:15 CET 2021


On Thu, 11 Nov 2021, Bill Dunlap wrote:

> I googled for "ggplot2 boxplots by group" and the first hit was
>  https://www.r-graph-gallery.com/265-grouped-boxplot-with-ggplot2.html
> which displays lots of variants along with the code to produce them.  It
> has links to ungrouped boxplots and shows how violin plots can better
> display your data.

Bill,

As I thought, all the returned pages use multiple groups within the same
dataframe. I'm still looking to learn how to pass multiple dataframes to one
ggplot() function, each with its own aesthetics.

Regards,

Rich



More information about the R-help mailing list