View source: R/inference_optimhelp.R
evaluate_logpostpdf | R Documentation |
Evaluate the posterior density function for a given vector of independent variables.
evaluate_logpostpdf(map, zprior, U, obs, zref)
map |
Mapping object. Usually a compound map, see |
zprior |
Vector of prior estimates of the independent variables (i.e., associated with nodes without parent nodes) |
U |
Prior covariance matrix of the independent variables |
obs |
Vector with observed values of dependent nodes. Must be of same
size as |
zref |
Vector with values of independent variables used as reference vector in Taylor expansion. The posterior pdf is also evaluated exactly at this point. |
Return a list with the following elements:
val | Value of the posterior probability density function evaluated at zref |
jac | Gradient of the posteroir probability density function evaluated at zref
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.