[R] How to solve difficult equations?

francogrex francogrex at mail.com
Wed Apr 25 09:15:55 CEST 2007

This below is not solvable with uniroot to find "a":
uniroot(fn,c(-500,500))  gives
"Error in uniroot(fn, c(-500, 500)) : f() values at end points not of
opposite sign"

I read R-help posts and someone wrote a function:
but it is not very precise. Is there any '"standard" function in R that can
solve this? thanks.
View this message in context: http://www.nabble.com/How-to-solve-difficult-equations--tf3643595.html#a10175603
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list