| inla.mdata {INLA} | R Documentation |
This defines an mdata-object for matrix valued response-families
inla.mdata(y, ...)
## S3 method for class 'inla.mdata'
print(x, ...)
as.inla.mdata(object)
is.inla.mdata(object)
y |
The response vector/matrix |
... |
Additional vectors/matrics of same length as |
x |
An mdata object |
object |
Any |
An object of class inla.mdata. There is method for
print.
is.inla.mdata returns TRUE if object inherits from
class inla.mdata, otherwise FALSE.
as.inla.mdata returns an object of class inla.mdata
It is often required to set Y=inla.mdata(...) and then define
the formula as Y~..., especially when used with inla.stack.
Havard Rue