Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jul 23, 2024
1 parent 3fd5c34 commit 8dc3afc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/get_df.R
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,10 @@ 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")) {
if (tolower(type) %in% c("profile", "uniroot", "quantile", "likelihood", "eti", "hdi", "bci", "boot", "spi", "nokr")) {
type <- "wald"
} else if (tolower(type) == "analytical") {
type <- "residual"
}
type
}
Expand Down

0 comments on commit 8dc3afc

Please sign in to comment.