[R] nonlinear equation solver?

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Apr 21 17:39:09 CEST 2003


"Wang, Zhu" <zhuw at mail.smu.edu> writes:

> Thanks to all.
>  
> I know how to solve it numerically but I am just wondering if there is a function already in R or S. I guess I have to implement some C codes then.
>  
> Thanks to Murray for good observation.
>  
> I am not sure why optim function is working in general to solve a nonlinear equation from Patrick's advice.

help(uniroot) ...

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-help mailing list