Skip to content

Commit

Permalink
fix issue with equivalence-test due to renaming (upper case) of values
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jun 24, 2019
1 parent 578f50b commit 8e96187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.equivalence_test.R
Expand Up @@ -84,7 +84,7 @@ plot.see_equivalence_test <- function(x, rope_color = "#0171D3", rope_alpha = .2
labels <- levels(tmp$predictor)
names(labels) <- labels

fill.color <- fill.color[sort(unique(match(x$ROPE_Equivalence, c("accepted", "rejected", "undecided"))))]
fill.color <- fill.color[sort(unique(match(x$ROPE_Equivalence, c("Accepted", "Rejected", "Undecided"))))]

add.args <- lapply(match.call(expand.dots = F)$`...`, function(x) x)
if ("colors" %in% names(add.args)) fill.color <- eval(add.args[["colors"]])
Expand Down

0 comments on commit 8e96187

Please sign in to comment.