View source: R/MegaLMM_functions.R
get_posterior_HPDinterval | R Documentation |
The synthetic parameter can be pre-calculated using get_posterior_FUN, or provided directly as an array with the first dimension the samples.#'
get_posterior_HPDinterval(X, FUN = NULL, prob = 0.95, ...)
X |
either an array of posterior samples (either a parameter from |
FUN |
(optional) if |
prob |
A numeric scalar in the interval (0,1) giving the target probability content of the intervals. The nominal probability content of the intervals is the multiple of 1/nrow(obj) nearest to prob |
... |
other parameters passed to get_posterior_FUN |
array with first dimension of length=2 giving the lower and upper limits of the parameters in the other two dimensions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.