Skip to content

Commit

Permalink
fix exponentiate for brms
Browse files Browse the repository at this point in the history
  • Loading branch information
bbolker committed Nov 14, 2023
1 parent f2a9b29 commit fbcac82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/brms_tidiers.R
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ tidy.brmsfit <- function(x, parameters = NA,
if (exponentiate) {
vv <- c("estimate", "conf.low", "conf.high")
out <- (out
%>% mutate(across(contains(vv)), exp)
%>% mutate(across(contains(vv), exp))
%>% mutate(across(std.error, ~ . * estimate))
)
}
Expand Down

0 comments on commit fbcac82

Please sign in to comment.