Learn R Programming

scales (version 1.2.1)

exp_trans: Exponential transformation (inverse of log transformation)

Description

Exponential transformation (inverse of log transformation)

Usage

exp_trans(base = exp(1))

Arguments

base

Base of logarithm

Examples

Run this code
plot(exp_trans(0.5), xlim = c(-2, 2))
plot(exp_trans(1), xlim = c(-2, 2))
plot(exp_trans(2), xlim = c(-2, 2))
plot(exp_trans(), xlim = c(-2, 2))

Run the code above in your browser using DataLab