View source: R/02-normalization.R
| get_log_normconst | R Documentation |
Quick helper S3 method to retrieve the log normalizing constant from an object
created using the aghq package. Methods for a list (returned by aghq::normalize_posterior)
and for objects of class aghq, laplace, and marginallaplace.
get_log_normconst(obj, ...)
## Default S3 method:
get_log_normconst(obj, ...)
## S3 method for class 'numeric'
get_log_normconst(obj, ...)
## S3 method for class 'aghq'
get_log_normconst(obj, ...)
## S3 method for class 'laplace'
get_log_normconst(obj, ...)
## S3 method for class 'marginallaplace'
get_log_normconst(obj, ...)
obj |
A list returned by |
... |
Not used |
A number representing the natural logarithm of the approximated normalizing constant.
Other quadrature:
aghq(),
get_hessian(),
get_mode(),
get_nodesandweights(),
get_numquadpoints(),
get_opt_results(),
get_param_dim(),
laplace_approximation(),
marginal_laplace_tmb(),
marginal_laplace(),
nested_quadrature(),
normalize_logpost(),
optimize_theta(),
plot.aghq(),
print.aghqsummary(),
print.aghq(),
print.laplacesummary(),
print.laplace(),
print.marginallaplacesummary(),
summary.aghq(),
summary.laplace(),
summary.marginallaplace()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.