From 5ae7b48626d914541a3dfa850d2600f4fe5b2a37 Mon Sep 17 00:00:00 2001 From: gnoblet Date: Mon, 3 Jul 2023 21:37:53 +0200 Subject: [PATCH] Treshold to threshold --- R/donut.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/donut.R b/R/donut.R index cd7ff73..626d4d2 100644 --- a/R/donut.R +++ b/R/donut.R @@ -60,7 +60,7 @@ donut <- function(df, # Add text labels if (add_text) { - df <- dplyr::mutate(df, y_treshold = ifelse({{ y }} >= add_text_treshold_display, {{ y }}, NA )) + df <- dplyr::mutate(df, y_treshold = ifelse({{ y }} >= add_text_threshold_display, {{ y }}, NA )) g <- g + ggplot2::geom_text(