Friday, February 18, 2011

R lowess best fit line

require(graphics)

plot(cars, main = "lowess(cars)")
lines(lowess(cars), col = 2)

No comments: