quick additional update

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-05-10 13:02:04 +02:00
commit d76c75bd93
No known key found for this signature in database
17 changed files with 138 additions and 138 deletions

View file

@ -62,9 +62,8 @@ vertical_stacked_bars <- function(data,
contrast_cut <-
sum(contrast_text(colors, threshold = .3) == "white")
score_label <- ifelse(is.na(REDCapCAST::get_attr(data$score, "label")), score, REDCapCAST::get_attr(data$score, "label"))
group_label <- ifelse(is.na(REDCapCAST::get_attr(data$group, "label")), group, REDCapCAST::get_attr(data$group, "label"))
score_label <- data |> get_label(var = score)
group_label <- data |> get_label(var = group)
p |>
(\(.x){