adding regression line per group with ggplot2I'm not quite sure whether that's what you want, but have you tried the following?