Description Usage Arguments Value Author(s) Examples
View source: R/spinner_bayes.R
Computes and plots the posterior distribution of spinners given a sequence of spins
1 2 3 4 | spinner_bayes(list_regions,
prior,
data,
plot=TRUE)
|
list_regions |
list of vectors of integer areas for the spins 1, 2, ... |
prior |
a vector containing the prior probabilities for the spinners |
data |
a vector containing the spin values where 1, 2, 3, ... are the possible spins |
plot |
if plot=TRUE, a comparative graph of the prior and posterior probabilities is displayed |
A data frame with variables Spinner, Prior, Likelihood, Product, and Posterior
Jim Albert
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.