Description Usage Arguments Value Author(s) See Also Examples
View source: R/prior_precision.R
plot_precision
plots a histogram of the estimates for the log-precision parameter
of the Dirichlet-Multinomial distribution, obtained via prior_precision
.
The solid line represents the normal prior for the log-precision parameter.
1 | plot_precision(prior)
|
prior |
the prior of the log-precision parameter, computed via |
A plot.
Simone Tiberi simone.tiberi@uzh.ch
1 2 3 4 5 6 7 | # load the pre-computed precision estimates:
data(precision, package = "BANDITS")
# Plot the histogram of the genewise log-precision estimates.
# The black solid line represents the normally distributed prior distribution
# for the log-precision parameter.
plot_precision(precision)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.