create.neighbourhood.array: Structuring neighbourhood array

View source: R/simulation.R

create.neighbourhood.arrayR Documentation

Structuring neighbourhood array

Description

Structuring neighbourhood array

Usage

create.neighbourhood.array(
  m = c(5, 5),
  sp = 2,
  type = "queen",
  torus = TRUE,
  sum.to.one = TRUE
)

Arguments

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.


Sondre91/starmagarch documentation built on July 16, 2025, 4:53 p.m.