Hi, I am trying to create a boxplot (with geom_jitter) such that the points from one set of values are shown as circles, and the second set of points also as circles, but with no fill. In other words, how can I control the shape and color for the points appearing in this boxplot?
======= library(ggplot2) myvect1 <- rnorm(100) myvect2 <- rnorm(100) fill1 <- rep('solid',100) fill2 <- rep('solid',100) myvect <- c(myvect1,myvect2) myfill <- c(fill1,fill2) mydat <- data.frame(myvect,myfill) ## How can I control the shape, color of the points in the boxplot based on the values of myfill? ggplot(data=mydat,aes(x='test',y=myvect)) + geom_boxplot() + geom_jitter() ========== thanks!! [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.