read the part on power fitting:
http://www.itc.nl/~rossiter/teach/R/R_CurveFit.pdf
--
View this message in context:
http://r.789695.n4.nabble.com/fitting-power-growth-tp4635999p4636158.html
Sent from the R help mailing list archive at Nabble.com.
__
R
Dear all
I am using the x and y vectors as defined below and want do to a power
law regression:
y = a x^b
using
> lm(log(y)~log(x))
gives reasonable values (b=1.23) but is not very popular due to biases
of back-transformation from log to non-log values. Using
> nls(y~a*x^b,start=list(a=1
2 matches
Mail list logo