You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' @param SHMI_rounding TRUE/FALSE, for SHMI calculation (standardised ratio, with SHMI truncation etc.), should you round the expected values to 2 decimal places (TRUE) or not (FALSE)
51
+
#' @param max.overlaps Exclude text labels that overlap too many things. Defaults to 10. (inheritted from geom_label_repel)
51
52
#'
52
53
#'
53
54
#' @return A fitted `funnelplot` object. A `funnelplot` object is a list containing the following components:\cr
@@ -127,7 +128,8 @@ funnel_plot <- function(.data, numerator, denominator, group
127
128
, theme= funnel_clean()
128
129
, label_outliers, Poisson_limits, OD_adjust
129
130
, xrange, yrange
130
-
, SHMI_rounding=TRUE){
131
+
, SHMI_rounding=TRUE
132
+
, max.overlaps=10){
131
133
132
134
# Version 0.4 deprecation warnings
133
135
if (!missing(label_outliers)) {
@@ -380,7 +382,7 @@ funnel_plot <- function(.data, numerator, denominator, group
0 commit comments