From 1f132385c0e2d2d8f10721239b6deb185c1c2342 Mon Sep 17 00:00:00 2001 From: Teun van den Brand Date: Fri, 4 Oct 2024 11:22:17 +0200 Subject: [PATCH] incorporate into exponential transformation --- R/transform-numeric.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/transform-numeric.R b/R/transform-numeric.R index 641b7f53..2344ac74 100644 --- a/R/transform-numeric.R +++ b/R/transform-numeric.R @@ -255,7 +255,8 @@ transform_exp <- function(base = exp(1)) { function(x) base^x, function(x) log(x, base = base), d_transform = function(x) base^x * log(base), - d_inverse = function(x) 1 / x / log(base) + d_inverse = function(x) 1 / x / log(base), + breaks = breaks_exp(), ) }