I just started using nls I tried to fit
y ~ exp(-x^a) :
m<- nls(y ~ exp(-x^a),start=list(a=0))
It seemes to work fine :)
My problem is that I want to get out "a" in order to write the value to a file.
I can see the the value is 3.612 but how to get hold of the value?
m
Nonlinear regression model
model: y ~ exp(-x^a)
data: parent.frame()
a
3.612
residual sum-of-squares: 0.06132
Number of iterations to convergence: 9
Achieved convergence tolerance: 3.654e-06