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