| HDIofICDF | R Documentation | 
Compute Highest Density interval limits.
HDIofICDF(ICDFname, credMass = 0.95, tol = 1e-08, ...)
ICDFname | 
 R’s name for the inverse cumulative density function of the distribution  | 
credMass | 
 the desired mass of the HDI region.  | 
tol | 
 tolerance passed to R’s optimize function  | 
Code from J.K.Kruschke - Doing bayesian data analysis. Adapted and corrected from Greg Snow’s TeachingDemos package.
HDI
JuG
#ICDFname must be explicitly named
HDIofICDF( qbeta , shape1 = 30 , shape2 = 12 )
#does not work
HDIofICDF( qbeta , 30 , 12 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.