Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jun 30, 2024
1 parent 894626c commit 9c3600c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/rope_range.R
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ rope_range.mlm <- function(x, verbose = TRUE, ...) {

.rope_range <- function(x, information = NULL, response = NULL, response_transform = NULL, verbose = TRUE) {
negligible_value <- tryCatch(
if (!is.null(response_transform) && grepl("log", response_transform, fixed = TRUE)) {
if (!is.null(response_transform) && all(grepl("log", response_transform, fixed = TRUE))) {
# for log-transform, we assume that a 1% change represents the ROPE adequately
# see https://github.com/easystats/bayestestR/issues/487
0.01
Expand Down

0 comments on commit 9c3600c

Please sign in to comment.