posterior_samples_sel: Create list to use with...

Description Usage Arguments Details Value See Also

View source: R/sample_posterior.R

Description

Create list to use with INLA::inla.posterior.sample(selection = sel).

Usage

1
posterior_samples_sel(.result, excl = c("APredictor", "Predictor"))

Arguments

.result

inla object.

excl

vector of tags to exclude from the selection list. Represents the predictors. Default is c("APredictor", "Predictor").

Details

The parameters could be in the hyperpar section of the sample as well as in the latent section. This happens when then the parameter is in the f() section of the inla formula. When this is the case, this function remove form the selection the variables in hyperpar.

See the documentation INLA::inla.posterior.sample for more details on the parameters selection.

Value

List of selected tags and indices

See Also

INLA::inla.posterior.sample


FrankLef/eflINLA documentation built on Dec. 17, 2021, 8:30 p.m.