> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of David
> I'm trying to set different boxes to different colors the following page
> shows
> http://www.sthda.com/english/wiki/ggplot2-box-plot-quick-start-guide-r-
> software-and-data-visualization
>
I see you creating a variable p, evaluating and printing a modified version of
that variable, and then printing that variable (presumably overwriting the
first plot). Are you executing your code one line at a time when
troubleshooting?
On January 17, 2019 2:32:51 PM PST, David Doyle wrote:
>He
Hello,
I'm trying to set different boxes to different colors the following page
shows
http://www.sthda.com/english/wiki/ggplot2-box-plot-quick-start-guide-r-software-and-data-visualization
I've tried the code
ToothGrowth$dose <- as.factor(ToothGrowth$dose)
head(ToothGrowth)
library(ggplot2)
# Ba
3 matches
Mail list logo