ngme AR(1) model specification

ar1(mesh, rho = 0, ...)

Arguments

mesh

integer vector or inla.mesh.1d object, index to build the mesh

rho

the correlation parameter (between -1 and 1)

...

ignore

Value

ngme_operator object

Examples

ar1(c(1:3, 1:3))
#> Model type: AR(1)
#>     rho = 0