extract_median_95CrI_hyperparameters: Extraction of the median and the equi-tailed 95% CrI for the...

View source: R/extract_median_95CrI_hyperparameters.R

extract_median_95CrI_hyperparametersR Documentation

Extraction of the median and the equi-tailed 95% CrI for the hyperparameters in INLA

Description

This function takes an INLA object as input and extracts the median and the equi-tailed 95% CrI of the hyperparameters.

Usage

extract_median_95CrI_hyperparameters(inla.object, dz = 0.75, diff.logdens = 15)

Arguments

inla.object

character string, the name of the INLA object fitted in R-INLA

dz

Step length in the standardized scale used in the construction of the grid, default 0.75.

diff.logdens

The difference of the log.density for the hyperpameters to stop numerical integration using int.strategy='grid'. Default 15.

Details

This function takes an inla object as input, checks whether the hyperparameters are available and extracts the median and the equi-tailed 95% CrI of the hyperparameters.

Value

A matrix of numeric values for all the hyperparameters in rows and median and the equi-tailed 95% CrI in columns (ncol = 3).

See Also

extract_median_95CrI_descriptives_inla


hunansona/ed4bhm documentation built on June 15, 2022, 6:42 p.m.