| inla.agaussian {INLA} | R Documentation |
Aggregate Gaussian into an equivalent observation
Description
Aggregate Gaussians observed with the same mean and precision,
into an equivalent triplet, for use with family="agaussian"
Usage
inla.agaussian(y, s = NULL)
Arguments
y |
Repeated observations. If |
s |
Optional fixed scaling of the precisions. Must be in the same format as |
Value
The output is a inla.mdata-object ready for use
with family="agaussian". See the example in the documentation.
Author(s)
Havard Rue hrue@r-inla.org
Examples
A = matrix(1:25,5,5)
inla.agaussian(A)
A[1,-1] = NA
A[2,-(2:3)] = NA
inla.agaussian(A)