extract_random_effects: Extraction of descriptive statistics for the random effects...

View source: R/extract_random_effects.R

extract_random_effectsR Documentation

Extraction of descriptive statistics for the random effects in INLA

Description

This function takes an INLA object as input and extracts the descriptive statistics (mean and standard deviation) of the random effects.

Usage

extract_random_effects(inla.object)

Arguments

inla.object

character string, the name of the INLA object fitted in inla

Details

This function takes an inla object as input, checks whether the random effects are available and extracts the descriptive statistics (mean and standard deviation) of the random effects.

Value

A matrix of numeric values for all the random effects in rows and means and sds in columns (ncol = 2).

See Also

extract_descriptives_inla


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