knmodels.sample.RdIt implements the sampling method for the models in Knorr-Held, L. (2000) considering the algorithm 3.1 in Rue & Held (2005) book.
inla.knmodels.sample(
graph,
m,
type=4,
intercept=0,
tau.t=1,
phi.t=0.7,
tau.s=1,
phi.s=0.7,
tau.st=1,
ev.t=NULL,
ev.s=NULL)Time dimention.
Integer from 1 to 4 to identify one of the four interaction type.
A constant to be added to the linear predictor
Precision parameter for the main temporal effect.
Mixing parameter in the bym2 model
assumed for the main temporal effect.
Precision parameter for the main spatial effect.
Mixing parameter in the bym2 model
assumed for the main spatial effect.
Precision parameter for the spacetime effect.
Eigenvalues and eigenvectors of the temporal precision matrix structure.
Eigenvalues and eigenvectors of the spatial precision matrix structure.
A list with the following elements
The time index for each obervation, with length equals m*n.
The spatial index for each obervation, with length equals m*n.
The spacetime index for each obervation, with length equals m*n.
A list with the following elements
The unstructured main temporal effect part.
The structured main temporal effect part.
The main temporal effect with length equals 2m.
The unstructured main spatial effect part.
The structured main spatial effect part.
The main spatial effect with length equals 2n.
The spacetime interaction effect with length equals m*n.
The linear predictor with length equals n*m.
inla.knmodels for model fitting