From 3fd5c346bbdfae44dbcdb21b8d48717710604f51 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 23 Jul 2024 15:45:45 +0200 Subject: [PATCH] default to wald for unknown ci_method --- R/get_df.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/get_df.R b/R/get_df.R index 5d0ceec49..c325e7c68 100644 --- a/R/get_df.R +++ b/R/get_df.R @@ -500,7 +500,7 @@ get_df.mediate <- function(x, ...) { .check_df_type <- function(type) { # handle mixing of ci_method and type arguments if (tolower(type) %in% c("profile", "uniroot", "quantile", "likelihood", "eti", "hdi", "bci", "boot", "spi", "analytical", "nokr")) { - type <- "residual" + type <- "wald" } type }