dear list
  I am student M.S. statistics in department statistics . I am working in  the 
function "nls" in the [R 2.3.1] with 246 data and want to fit a model to 
vectors( v and u ) but I have 
a problem to use it
u
  5.000000e-13 2.179057e+03 6.537171e+03 1.089529e+04 1.525340e+04
  1.961151e+04 2.396963e+04 2.832774e+04 3.268586e+04 3.704397e+04
 4.140209e+04 4.576020e+04 5.011831e+04 5.447643e+04
v
 8.382562e-01 4.090868e+02 1.311053e+03 2.124143e+03 3.365494e+03
 2.138903e+03 7.687774e+03 1.028396e+04 1.004186e+04 2.059798e+04
 1.438464e+04 2.861373e+04 2.294919e+04 2.807701e+04
  
nls(v~c0+.5(a^2)*(u^2),start=list(c0=0,a=.3))
Error in eval(expr, envir, enclos) : attempt to apply non-function
...............................................................................
   nls(v~c0+a*(u^s),start=list(c0=0,a=10000,s=5000))
Error in numericDeriv(form[[3]], names(ind), env) : 
        Missing value or an infinity produced when evaluating the model
    

  
................................................................................
  i dont know how to solve it, please help me .
 best regards
Sadeghian.

 __________________________________________________



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to