Description Usage Arguments Details Value
Calculate posterior statistics from an array or vector of samples. The samples are populated along the last dimension, e.g. columns of a matrix are the samples; the depth of a 3D array are the samples.
1 2 3 |
samples |
A vector, matrix or array of samples |
fun |
A function for statitics calculation. Support 'tidy' style of function specification. |
'pstats' calculates posterior statistics given by 'fun'.
'pmean' calculates posterior means, and faster than pstats(samples, mean).
A numeric value, vector or matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.