Learn R Programming

scales (version 1.3.0)

transform_compose: Compose two or more transformations together

Description

This transformer provides a general mechanism for composing two or more transformers together. The most important use case is to combine reverse with other transformations.

Usage

transform_compose(...)

compose_trans(...)

Arguments

...

One or more transformers, either specified with string or as individual transformer objects.

Examples

Run this code
demo_continuous(10^c(-2:4), trans = "log10", labels = label_log())
demo_continuous(10^c(-2:4), trans = c("log10", "reverse"), labels = label_log())

Run the code above in your browser using DataLab