[R] Function question

dennis11 detebeest at hotmail.com
Fri Oct 17 18:11:40 CEST 2008


Let's say very simply there is a function:

f <- function (x) x^2

which is evaluated with :


Now, I want to do the reverse so I want to now x for f(x) = 4

So, is there a way in R to solve x for some function f(x)=a?

I hope I explained it clear.



View this message in context: http://www.nabble.com/Function-question-tp20036365p20036365.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list