Created
April 16, 2019 23:41
-
-
Save stemangiola/9f466016fbe368712c92b64586318e2c to your computer and use it in GitHub Desktop.
Some useful functions about bayes object parsing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get_bimodality = function(fit) { | |
fit %>% | |
tidybayes::gather_draws(exposure_rate[S]) %>% summarise( | |
bimodal = diptest::dip.test(`.value`) %$% `p.value` | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment