Learn R Programming

fable (version 0.0.0.9000)

invert_transformation: Invert a transformation

Description

Can be used to invert a supported expression or transformation object for back-transforming.

Usage

invert_transformation(x, ...)

Arguments

x

An expression/function which can be inverted

...

Further arguments passed on to methods

Value

A object of class transformation

Examples

Run this code
# NOT RUN {
y <- rnorm(10)

# Works with expressions
my_trans <- invert_transformation(quote(log(y+1)))
my_trans

# Works with transformations
invert_transformation(my_trans)

# }

Run the code above in your browser using DataLab