I\'m working with a dataset where I have to transform some data for a curve fit. I\'m plotting it using ggplot2, and can use stat_smooth on the transformed data to get the fit,
Sometimes things can be very obvious :
qplot(1:10, 1:10)+stat_smooth(formula=(y+1)-1~x, method="lm")
If you can raise it 1 by adding 1 to y, you can lower it 1 by substracting 1 from y. ;-)