summarise_dist | R Documentation |
Used internally, to summarise posterior distributions, but the logic does apply to any distribution (thus, the name).
summarise_dist(x, robust = TRUE, interval_width = 0.95)
x |
a numeric vector of posterior draws. |
robust |
single logical. if |
interval_width |
single numeric value ( |
MAD-SDs are scaled to correspond to SDs if distributions are normal,
similarly to the stats::mad()
function; see details regarding calculation
in that function's description.
A numeric vector with four named elements: est
(the median/mean),
err
(the MAD-SD/SD), lo
and hi
(the lower and upper boundaries of the
interval).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.