Hi, library(ggplot2,plyr) qplot(carat,depth,data=diamonds, geom="boxplot", group=round_any(carat,0.1,floor), xlim=c(0,3))
Typing: warnings() Gives me: Warning messages: 1: position_dodge requires constant width: output may be incorrect How should the above code be adjusted to avoid this warning? Curious, as this code is copied directly from ggplot2 Elegant Graphics for Data Analysis. D. -- View this message in context: http://r.789695.n4.nabble.com/ggplot-position-dodge-requires-constant-width-tp4672559.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.