model <- lm(Approximate.Counts~X..Light.Transmission + I(Approximate.Counts^2), data=Standards)
Might not be addressing the problem, don't you have Y ~ X + Y^2 here? That's a violation of the assumptions of an lm isn't it? Also for plotting CI on a curve look into ggplot2::geom_ribbon, it's much nicer than just plotting lines and is easy to use. had.co.nz should set you right for setting this up. -- View this message in context: http://r.789695.n4.nabble.com/Confidence-Intervals-on-Standard-Curve-tp3313850p3315071.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.