From c4f8cb8fb8bb7326560840948bd48d49bf51203a Mon Sep 17 00:00:00 2001 From: Douglas Ezra Morrison Date: Tue, 3 Sep 2024 14:44:16 -0700 Subject: [PATCH 1/2] fix typo --- R/label-pvalue.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/label-pvalue.R b/R/label-pvalue.R index 2564daf0..749a5fb0 100644 --- a/R/label-pvalue.R +++ b/R/label-pvalue.R @@ -5,7 +5,7 @@ #' @inherit label_number return params #' @param prefix A character vector of length 3 giving the prefixes to #' put in front of numbers. The default values are `c("<", "", ">")` -#' if `add_p` is `TRUE` and `c("p<", "p=", "p>")` if `FALSE`. +#' if `add_p` is `FALSE` and `c("p<", "p=", "p>")` if `TRUE`. #' @param add_p Add "p=" before the value? #' @export #' @family labels for continuous scales From 26ed0d7c542596b2905441506c6d5be4a1fa6f63 Mon Sep 17 00:00:00 2001 From: Douglas Ezra Morrison Date: Tue, 3 Sep 2024 14:47:22 -0700 Subject: [PATCH 2/2] Update label-pvalue.R switched order --- R/label-pvalue.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/label-pvalue.R b/R/label-pvalue.R index 749a5fb0..ef35aa68 100644 --- a/R/label-pvalue.R +++ b/R/label-pvalue.R @@ -4,8 +4,8 @@ #' #' @inherit label_number return params #' @param prefix A character vector of length 3 giving the prefixes to -#' put in front of numbers. The default values are `c("<", "", ">")` -#' if `add_p` is `FALSE` and `c("p<", "p=", "p>")` if `TRUE`. +#' put in front of numbers. The default values are `c("p<", "p=", "p>")` +#' if `add_p` is `TRUE` and `c("<", "", ">")` if `FALSE`. #' @param add_p Add "p=" before the value? #' @export #' @family labels for continuous scales