Displaying 1 result from an estimated 1 matches for "nlstest_data".
2012 Jun 28
1
add constraints to nls or use another function
...n (and/or a complete
solution, which will be great ...) ?
Thanks in advance for your help,
Have a good day,
Ptit Bleu.
-------------------------------------------------------------------------------------------------------------
#The experimental data :
http://r.789695.n4.nabble.com/file/n4634705/nlstest_data.txt
nlstest_data.txt
#The script
library(lattice)
dftest<-read.table("nlstest_data.txt", sep=";", dec=".", as.is=T, header=T)
nlsfit<-coefficients(nls(y ~
F+A*(x-1)+B*log(x)+C*(x-1)*(x-1)+D*log(x)*log(x), data=dftest, start =
list(A=-0.06,B=0.48,C=0.89,D=0.03,...