From 18ebd2ba46313d2b707c4ffeaa6bd901a1c323f8 Mon Sep 17 00:00:00 2001 From: C Morales <62895857+moralec@users.noreply.github.com> Date: Tue, 7 Jun 2022 16:39:08 +0100 Subject: [PATCH] Update external_fizz.R --- R/external_fizz.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/R/external_fizz.R b/R/external_fizz.R index 763c4aca..712d8386 100644 --- a/R/external_fizz.R +++ b/R/external_fizz.R @@ -33,7 +33,10 @@ external_fizz <- function(data, mingroup = 5, return = "plot"){ - create_fizz(data = data, +plot_data <- data %>% mutate(External_collaboration_hours = Collaboration_hours_external) + + + create_fizz(data = plot_data, metric = "External_collaboration_hours", hrvar = hrvar, mingroup = mingroup,