[R] Newbie's question about lm

Ptit_Bleu ptit_bleu at yahoo.fr
Thu Jul 17 17:32:26 CEST 2008


Hello,

I would like to fit data with the following formula :
y=V*(1+alpha*(x-25))
where y and x are my data, V is a constant and alpha is the slope I'm
looking for.

How to translate this into R-language ?
At the moment, I only know : lm(y ~ x)

Sorry for such a basic question. I thought I could find the solution in a
post but I have to confess that, up to know, I'm not able to understand the
posts I read concerning lm (the level of the questions are too high for me
and my english quite poor as well).

Have a nice evening,
Ptit Bleu. 
-- 
View this message in context: http://www.nabble.com/Newbie%27s-question-about-lm-tp18511262p18511262.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list