View source: R/theta_functions.R
computeEAPFromPosterior | R Documentation |
computeEAPFromPosterior
is an internal function for converting posterior densities into an EAP estimate.
computeEAPFromPosterior(posterior, theta_grid)
posterior |
a named list posterior densities and likelihoods. |
theta_grid |
a vector containing quadrature points corresponding to the above. |
computeEAPFromPosterior
returns a named list containing an EAP theta estimate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.