bayesian_crank <- function(d){ d$Product <- d$Likelihood * d$Prior d$Posterior <- d$Product / sum(d$Product) d }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.