View source: R/extract_hyperparameters.R
extract_hyperparameters | R Documentation |
This function takes an INLA object as input and extracts the descriptive statistics (mean and standard deviation) of the hyperparameters.
extract_hyperparameters(inla.object, dz = 0.75, diff.logdens = 15)
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. |
This function takes an inla
object as input, improves the estimates of the posterior marginals for the hyperparameters of the model using the grid integration strategy by inla.hyperpar
function, checks whether the hyperparamaters are available and extracts the descriptive statistics (mean and standard deviation) of the hyperparameters.
A matrix of numeric values for all the hyperparameters in rows and means and sds in columns (ncol = 2).
extract_descriptives_inla
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.