Bayesian_power icon indicating copy to clipboard operation
Bayesian_power copied to clipboard

Update tidybayes code

Open lucavd opened this issue 4 years ago • 0 comments

Hi Solomon, the function tidy from {tidybayes} does not exist anymore. You can update the code from:

update(fit, newdata = d, seed = seed) %>% tidy(prob = .95) %>% filter(term == "b_treatment")

to

update(fit, newdata = d, seed = seed) %>% gather_draws(b_treatment) %>% median_qi()

@danielebottigliengo suggested it to me and it seems to work

Thank you for your wonderful blog posts

lucavd avatar Jan 15 '21 19:01 lucavd