metacoder (version 0.3.3)

inverse: Generate the inverse of a function

Description

http://stackoverflow.com/questions/10081479/solving-for-the-inverse-of-a-function-in-r

Usage

inverse(f, interval)

Arguments

f

(function with one argument) A function to derive and inverse from

interval

(character of length 2) The range of the value the inverse function can return.

Value

(function) Return the inverse of the function given