LISAmaps: Processes the local simulations and local Moran to produce...

Description Usage Arguments Value

View source: R/moran.R

Description

Processes the local simulations and local Moran to produce LISA map.

Usage

1
2
3
4
5
6
7
8
LISAmaps(
  shp = NULL,
  x = NULL,
  y = NULL,
  W = NULL,
  local_sims = NULL,
  local_moran = NULL
)

Arguments

x

numeric vector with values of variable 1. Defaults to NULL.

y

numeric vector with values of variable 2. Defaults to NULL (not bivariate).

W

numeric matrix of neighbourhood matrix from nbMatrix. Defaults to NULL.

local_sims

numeric vector with local simulations of Moran (result from localMoranSim)

local_moran

numeric vector with local values of Moran's I (result from localMoran)

Value

sf with localPseudo (p-value of local), pvalue (p-value classified), patterns (cluster LISA map input)


biamouras/accSeg documentation built on Nov. 19, 2020, 8:07 a.m.