Hi,

Let's say very simply there is a function:

f <- function (x) x^2

which is evaluated with :

f(2)

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.

cheers,

Dennis

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

______________________________________________
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