| tf_invert | R Documentation |
tf vectorComputes the functional inverse of each function in the tf vector, such that
if y = f(x), then x = f^{-1}(y).
tf_invert(x, ...)
x |
a |
... |
optional arguments for the returned object, see |
a tf vector of the inverted functions.
arg <- seq(0, 2, length.out = 50)
x <- tfd(rbind(2 * arg, arg^2), arg = arg)
x_inv <- tf_invert(x)
layout(t(1:2))
plot(x, main = "original functions", ylab = "")
plot(x_inv, main = "inverted functions", ylab = "", points = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.