Re: [R] ggplot and boxplots

2018-03-13 Thread Yectli Huerta via R-help
On March 12, 2018 11:59 PM, Richard M. Heiberger wrote: > It looks like your V3 is a factor. > > testing_ggplot <- data.frame( > > V1=factor(c(256, 256, 256, 272, 272, 272)), > > V2=c("Disabled", "Disabled", "Enabled", "Disabled", "Enabled", "Enabled"), > > V3=681:686) > thanks for the exp

Re: [R] ggplot and boxplots

2018-03-12 Thread Richard M. Heiberger
It looks like your V3 is a factor. testing_ggplot <- data.frame( V1=factor(c(256, 256, 256, 272, 272, 272)), V2=c("Disabled", "Disabled", "Enabled", "Disabled", "Enabled", "Enabled"), V3=681:686) library(ggplot2) ggplot(testing_ggplot, aes(V2,V3 )) + geom_boxplot() + facet_wrap( ~ V

[R] ggplot and boxplots

2018-03-12 Thread Yectli Huerta via R-help
Hi, I was wondering if someone could give me a hint or two. I'm having problems generating ggplot2 boxplots . The plot that is has dots but no boxplots. Below is the dataset > testing_ggplot V1V2 V3 1 256 Disabled 688.61 2 256 Disabled 698.63 3 256 Disabled 700.02 4 256