Hello, In the past I have used Excel for creating standard curves. I recently switched to R using the lm function to create my curves instead, but find the results are slightly different even though my y-intercept and slope are the same. A friend told me that the difference was due to R and Excel using a different algorithm to calculate the line. Has anyone run into this problem before? Thank you in advance, Minda -- Minda R Berbeco, PhD Steenwerth Lab Viticulture & Enology University of California, Davis https://sites.google.com/site/mindaberbeco/ [[alternative HTML version deleted]]
minda berbeco <mrberbeco <at> ucdavis.edu> writes:> > Hello, > > In the past I have used Excel for creating standard curves. I recently > switched to R using the lm function to create my curves instead, but find > the results are slightly different even though my y-intercept and slope are > the same. A friend told me that the difference was due to R and Excel > using a different algorithm to calculate the line. Has anyone run into > this problem before?Can you please give us a reproducible example? e.g. read the posting guide or http://tinyurl.com/reproducible-000 ... It's also not clear what you mean by "the results are slightly different even though my y-intercept and slope are the same" ... what do you mean by "results"? R^2 value? Ben Bolker