Thanks again Andy and Uwe for you help on my previous post of ploting lm coef and means. With your direction, I was able to expand and generalize the function to meet my requirements.
Follow up question: Is it possible to make the points different colors depending on which quaderant they fall into? The data frame contains two variables (x and y) Quad 1 = x>mean(x) & y>mean(y) would be blue Quad 2 = x>mean(x) & y<mean(y) would be red Quad 3 = x<mean(x) & y>mean(y) .... Quad 4 = x<mean(x) & y<mean(y) .... Derek ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html