cgeneric_iid {INLAtools}R Documentation

The cgeneric_iid uses the cgeneric_generic0 with the structure matrix as the identity.

Description

The cgeneric_iid uses the cgeneric_generic0 with the structure matrix as the identity.

Usage

cgeneric_iid(
  n,
  param,
  constr = FALSE,
  debug = FALSE,
  useINLAprecomp = TRUE,
  libpath = NULL
)

Arguments

n

integer required to specify the model size

param

length two vector with the parameters a and p for the PC-prior distribution defined from

P(\sigma > a) = p

where \sigma can be interpreted as marginal standard deviation of the process if scale = TRUE. See details.

constr

logical indicating if it is to add a sum-to-zero constraint. Default is TRUE.

debug

integer, default is zero, indicating the verbose level. Will be used as logical by INLA.

useINLAprecomp

logical, default is TRUE, indicating if it is to be used the shared object pre-compiled by INLA. This is not considered if 'libpath' is provided.

libpath

string, default is NULL, with the path to the shared object.


[Package INLAtools version 0.0.1 Index]