Quick helper S3 method to retrieve the quadrature nodes and weights 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_nodesandweights(obj, ...)# S3 method for default
get_nodesandweights(obj, ...)
# S3 method for list
get_nodesandweights(obj, ...)
# S3 method for data.frame
get_nodesandweights(obj, ...)
# S3 method for aghq
get_nodesandweights(obj, ...)
# S3 method for laplace
get_nodesandweights(obj, ...)
# S3 method for marginallaplace
get_nodesandweights(obj, ...)
A number representing the natural logarithm of the approximated normalizing constant.
A list returned by aghq::normalize_posterior
or an object of class aghq
, laplace
, or marginallaplace
.
Not used
Other quadrature:
aghq()
,
get_hessian()
,
get_log_normconst()
,
get_mode()
,
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()