From d675ae8b72d562463b4bd8837133a368af0df619 Mon Sep 17 00:00:00 2001 From: Thomas Lin Pedersen Date: Wed, 1 Nov 2023 12:26:29 +0100 Subject: [PATCH] Fix #385 --- R/trans.R | 6 +++--- man/trans_new.Rd | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/R/trans.R b/R/trans.R index 6d260e76..23a93804 100644 --- a/R/trans.R +++ b/R/trans.R @@ -16,9 +16,9 @@ #' @param minor_breaks default minor breaks function for this transformation. #' @param format default format for this transformation. The format is applied #' to breaks generated on the un-transformed data. -#' @param domain domain, as numeric vector of length 2, over which -#' transformation is valued. The function in the `transform` argument is -#' expected to be able to transform the `domain` argument. +#' @param domain the allowed range of the data to be transformed. The function +#' in the `transform` argument is expected to be able to transform the `domain` +#' argument. #' @seealso \Sexpr[results=rd,stage=build]{scales:::seealso_trans()} #' @export #' @keywords internal diff --git a/man/trans_new.Rd b/man/trans_new.Rd index b1dc171f..1e6b8fa1 100644 --- a/man/trans_new.Rd +++ b/man/trans_new.Rd @@ -38,9 +38,9 @@ function is applied to the un-transformed data.} \item{format}{default format for this transformation. The format is applied to breaks generated on the un-transformed data.} -\item{domain}{domain, as numeric vector of length 2, over which -transformation is valued. The function in the \code{transform} argument is -expected to be able to transform the \code{domain} argument.} +\item{domain}{the allowed range of the data to be transformed. The function +in the \code{transform} argument is expected to be able to transform the \code{domain} +argument.} } \description{ A transformation encapsulates a transformation and its inverse, as well