Description Usage Arguments Value Author(s) Examples
Function to construct a structure matrix for 2-dimensional CAR(1) model.
1 | makeQ(nr, nc)
|
nr |
number of rows in lattice |
nc |
number of columns in lattice |
structure matrix of dimension (nr * nc) by (nr * nc)
Kate Cowles
1 2 3 | # Construct 300 x 300 structure matrix for intrinsic CAR(1) for
# lattice data on a rectangle with 15 rows and 20 columns
makeQ( 15, 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.