From 1a98998b61f8859bae78e9fc62988e4c8019ac04 Mon Sep 17 00:00:00 2001 From: Thomas Lin Pedersen Date: Wed, 1 Nov 2023 10:12:51 +0100 Subject: [PATCH] Fix #393 --- R/trans-numeric.R | 4 ++++ man/reverse_trans.Rd | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/R/trans-numeric.R b/R/trans-numeric.R index 7279acf4..9047aecd 100644 --- a/R/trans-numeric.R +++ b/R/trans-numeric.R @@ -302,6 +302,10 @@ reciprocal_trans <- function() { #' Reverse transformation #' +#' 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. +#' #' @export #' @examples #' plot(reverse_trans(), xlim = c(-1, 1)) diff --git a/man/reverse_trans.Rd b/man/reverse_trans.Rd index fa1b49ea..049f5499 100644 --- a/man/reverse_trans.Rd +++ b/man/reverse_trans.Rd @@ -7,7 +7,9 @@ reverse_trans() } \description{ -Reverse transformation +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. } \examples{ plot(reverse_trans(), xlim = c(-1, 1))