Skip to content
Prev 13703 / 398502 Next

availability of a "solve" function in R?

Ron Shonkwiler wrote:
Have a look at uniroot(), e.g. do something like

R> myfun <- function(x,y) x+y
R> uniroot(function(x) myfun(x,5), c(-10,10))

cheers
Z
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._