Simulate a lattice AR(1) process
gridAR.RdGenerates one realisation from an autoregressive process on an \(N \times M\) lattice by using the Wold-weight deconstruction.
Arguments
- N
Integer number of rows.
- M
Integer number of columns.
- phi_1
Horizontal autoregressive coefficient.
- phi_2
Vertical autoregressive coefficient.
- phi_3
Diagonal autoregressive coefficient.
- phi_4
Optional additional diagonal coefficient. If `NULL` or `0` the quarter-plane kernel is used.
- wold_size
Size of the Wold-weight lattice, defaults to 50.
