From 155bdb80984b83a072a854cd740ee775c4154a16 Mon Sep 17 00:00:00 2001 From: Andreas Gammelgaard Damsbo Date: Wed, 23 Apr 2025 14:26:05 +0200 Subject: [PATCH] bug --- R/plot_box.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/plot_box.R b/R/plot_box.R index 5a830d1..d0165dd 100644 --- a/R/plot_box.R +++ b/R/plot_box.R @@ -46,7 +46,7 @@ plot_box_single <- function(data, pri, sec=NULL, seed = 2103) { if (is.null(sec)) { sec <- "All" - data[[y]] <- sec + data[[sec]] <- sec } discrete <- !data_type(data[[sec]]) %in% "continuous"