Skip to content

Commit 537209e

Browse files
committed
post hoc possible without corrections
1 parent bfa1550 commit 537209e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

R/ancova.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -938,10 +938,9 @@ AncovaInternal <- function(jaspResults, dataset = NULL, options) {
938938
wantsCorrections <- c(options[["postHocCorrectionTukey"]], options[["postHocCorrectionScheffe"]],
939939
options[["postHocCorrectionBonferroni"]], options[["postHocCorrectionHolm"]],
940940
options[["postHocCorrectionSidak"]])
941-
if (sum(wantsCorrections) == 0)
942-
wantsCorrections <- "none"
943941
postHocCorrections <- c("tukey", "scheffe", "bonferroni", "holm", "sidak")[wantsCorrections]
944-
942+
if (sum(wantsCorrections) == 0)
943+
postHocCorrections <- "none"
945944
## Computation
946945
resultPostHoc <- lapply(postHocCorrections, function(x)
947946
summary(emmeans::contrast(postHocRef[[postHocVarIndex]],

0 commit comments

Comments
 (0)