create_icar_prec_matrix | R Documentation |
Create the precision matrix for an ICAR process.
create_icar_prec_matrix(sf_obj = NULL, area_lev = NULL, row.names = NULL)
sf_obj |
Shapefiles needed for adjacency, Default: NULL |
area_lev |
PSNU area level for specific country. |
row.names |
Unique IDs for the areas, Default: NULL |
ICAR precision matrix.
poly2nb
nb2mat
as
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.