Skip to content

Commit

Permalink
default to wald for unknown ci_method
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jul 23, 2024
1 parent ee83fc8 commit 3fd5c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_df.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3fd5c34

Please sign in to comment.