FixedEffects: Fixed effects

Description Usage Arguments Value References Examples

Description

Summary statistics of fixed marginals

Usage

1
2
FixedEffects(model = NULL, quantiles = c(0.025, 0.975), hpd = NULL,
  sd = FALSE, expo = TRUE, rnd = 3)

Arguments

model

object of class inla with fixed marginals.

quantiles

numeric vector to indicate the quantiles to be computed.

sd

logical. If FALSE (default), the standard deviation is not returned.

expo

logical. If TRUE (default), summary statistics are expoentiated.

rnd

integer indicating the number of decimal places to be used.

hpd.

Proportion of the distribution included in the highest density interval.

Value

matrix with summary statistics.

References

Blangiardo, Marta, and Michela Cameletti. Spatial and Spatio-temporal Bayesian Models with R-INLA. John Wiley & Sons, 2015.

Examples

1
2
3
4
5
data(sp)
mod <- inla(aan ~ shvn + f(id, model = 'bym', graph = sp.adj),
            E = eaan, family = 'poisson', data = spn)
FixedEffects(mod)
FixedEffects(mod, quantiles = NULL, hpd = .95)

oswaldosantos/INLAOutputs documentation built on May 24, 2019, 5 p.m.