search for: testing_ggplot

Displaying 2 results from an estimated 2 matches for "testing_ggplot".

2018 Mar 12
2
ggplot and boxplots
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 V1 V2 V3 1 256 Disabled 688.61 2 256 Disabled 698.63 3 256 Disabled 700.02 4 256 Disabled 693.36 5 256 Disabled 688.8 6 256 Disabled 697.72 7 256 Disabled 698.15 8 256 Disabled 693.98 9 256 Disabled 700.75 ... 16 256 Enabled 698.35 17 256 Enabled 694.71 18 256...
2018 Mar 13
0
ggplot and boxplots
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() + fac...