Description Usage Arguments Value Examples
View source: R/summarize_posterior.R
This function maybe useful for marginalization or just to visualize the probability table.
1  | compute_product_Bern_table(p, LOG = TRUE)
 | 
p | 
 A vector of M probabilities  | 
LOG | 
 Default is TRUE; logarithm of probabilities.  | 
a vector of probabilities that sum to one
1  | compute_product_Bern_table(c(0.1,0.2,0.3,0.4))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.