Displaying 1 result from an estimated 1 matches for "cnl1".
Did you mean:
chl1
2004 Feb 23
2
parameters' value
...R. I am trying to use R to do some nonlinear modeling. However, I can not find how to get the parameters's value back.
Here is the code in S-plus:
ycos1.nl <- nls(y ~ m +ac*cos(2*pi*f*t) +as*sin(2*pi*f*t), start=nl.st, trace=T)
## store model info after satisfactory model has been found
cNL1 <- c(ycos1.nl$parameters[1:3],0)
What is same code in R?
Thanks a lot.
Duan