Learn R Programming

scales (version 1.3.0)

transform_reverse: Reverse transformation

Description

reversing transformation works by multiplying the input with -1. This means that reverse transformation cannot easily be composed with transformations that require positive input unless the reversing is done as a final step.

Usage

transform_reverse()

reverse_trans()

Arguments

Examples

Run this code
plot(transform_reverse(), xlim = c(-1, 1))

Run the code above in your browser using DataLab