transform_reverse: Reverse transformation

View source: R/transform-numeric.R

transform_reverseR Documentation

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()

Examples

plot(transform_reverse(), xlim = c(-1, 1))

r-lib/scales documentation built on June 14, 2025, 10:56 p.m.