thanks ilai that's exactly what I was looking for!
in fact, I've been in trouble with: - the assignment of mean values to each factor (which is correctly sorted out by mean.values[x] as your example clearly show up) - and also with the position of mean values along x axis (because that "x + (group.number-1.5)/3" is still something not fully undertstood to myself) thank you again best massimo -- View this message in context: http://r.789695.n4.nabble.com/Lattice-side-by-side-boxplots-with-average-tp4617831p4619488.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.