create.neighbourhood.array | R Documentation |
Structuring neighbourhood array
create.neighbourhood.array(
m = c(5, 5),
sp = 2,
type = "queen",
torus = TRUE,
sum.to.one = TRUE
)
m |
Spatial dimension vector of length 1 or 2 (integer). |
sp |
Max spatial order (integer). |
type |
neighbourhood type (rook or queen) |
torus |
Logical, indicator for circular space. |
sum.to.one |
Logical, indicator for standardized row sums. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.