Description Usage Arguments Value Methods Author(s) See Also Examples
Obtain statistical parameters from the posterior probability distribution. Particularly, this function computes credible intervals at a given confidence level (default to 95%).
1 | getPosteriorParam(object, low = 0.025, up = 0.975, ...)
|
object |
An object of class 'Counts' |
low |
The left tail posterior probability |
up |
1 - the right tail posterior probability |
... |
Additional arguments, for compatibility with |
An object of class Counts.
signature(object = "Counts")
an object of class Counts
.
Federico Comoglio, federico.comoglio@bsse.ethz.ch
1 2 3 4 5 6 | K <- newCounts( counts = c(20,30), fractions = c(0.075, 0.10))
#using default parameters (DUP, sampling without replacement and default prior support)
K.dup <- computePosterior(K)
getPosteriorParam(K.dup)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.