make_EV: Extract eigenfunctions of a spatial connectivity matrix for...

Description Usage Arguments Details Value Source

View source: R/convenience-functions.R

Description

Extract eigenfunctions of a spatial connectivity matrix for spatial filtering

Usage

1
make_EV(C, nsa = FALSE, threshold = 0.2, values = FALSE)

Arguments

C

A binary spatial weights matrix. See shape2mat or nb2mat.

nsa

Logical. Default of nsa = FALSE excludes eigenvectors capturing negative spatial autocorrelation. Setting nsa = TRUE will result in a candidate set of EVs that contains eigenvectors representing positive and negative SA.

threshold

Defaults to threshold=0.2 to exclude eigenvectors representing spatial autocorrelation levels that are less than threshold times the maximum possible Moran coefficient achievable for the given spatial connectivity matrix.

values

Should eigenvalues be returned also? Defaults to FALSE.

Details

Returns a set of EVs limited to those with |MC| > threshold if nsa = TRUE or MC > threshold if nsa = FALSE, along with corresponding eigenvalues (optionally).

Value

A data.frame of eigenvectors for spatial filtering. If values=TRUE then a named list is returned with elements eigenvectors and eigenvalues.

Source

Daniel Griffith and Yongwan Chun. 2014. "Spatial Autocorrelation and Spatial Filtering." in M. M. Fischer and P. Nijkamp (eds.), Handbook of Regional Science. Springer.


ConnorDonegan/spstan documentation built on Jan. 22, 2020, 7:47 a.m.