moran_map: Local Moran Map

Description Usage Arguments

View source: R/moran_map.R

Description

The function to make local moran cluster maps.

Usage

1
2
3
4
5
6
7
8
moran_map(
  polys,
  xname,
  yname = NULL,
  weights = NULL,
  permutations = 999,
  alpha = 0.05
)

Arguments

polys

An sf dataframe

xname

string, the name of the x variable, this variable must be contained in the sf dataframe

yname

string, the name of the y variable, this variable must be contained in the sf dataframe, default option is NULL, can only be used for moran, geary, and join count

weights

weights structure from spdep, must be style "B"; default is set equal to NULL, and first order queen contiguity weights are used to construct the map

permutations

numeric, number of permutations the conditional randimization approach to significance, maximum is 99999, default is 999

alpha

numeric, cut-off level of significance, must be between 0 and 1, the default is .05


morrisonge/spatmap documentation built on June 9, 2020, 1:22 p.m.