Takes vector of pdf sample points and corresponding target variable values to calculate the HDI at desired confidence level
1 | CalcHDI(sample.points, epdf, cred = 0.9)
|
sample.points |
Vector of target variable values corresponding to pdf |
epdf |
Vector of epdf sample point values |
cred |
Confidence level |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.