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

hadley/scales documentation built on Jan. 10, 2024, 2:06 p.m.