Hello all,
I've got a scatter plot, for which I create a regression line using:
reg<- lm(yvars~xvars) and can plot the regression through the scatter
just fine.
I'd like to add two additional lines on the scatter plot: one being
regressionline+standard deviation, the other being
regressionline-standard deviation, thus creating some kind of 'band'
for the scatter.

Any help will be much appreciated. Thanking you in advance,

George.

______________________________________________
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.

Reply via email to