inla.mdata {INLA} | R Documentation

## Create an mdata-object for INLA

### Description

This defines an mdata-object for matrix valued response-families

### Usage

    inla.mdata(y, ...)
    is.inla.mdata(object)
    as.inla.mdata(object)

### Arguments

`y` | The response vector/matrix
`...` | Additional vectors/matrics of same length as `y`
`object` | Any `R`-object
`x` | An mdata object

### Value

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`

### Author(s)

Havard Rue

### See Also

`inla`

[Package INLA version 18.07.12 Index]