bimoran: Bivariate Global Moran Statistic

View source: R/bimoran.R

bimoranR Documentation

Bivariate Global Moran Statistic

Description

This function computes the value of the Bivariate Global Moran Statistic

Usage

bimoran(x,y=NULL,listw,perm=999,CENT=mean,DESV=sd)

Arguments

x

Either a numeric vector or a numeric matrix with two columns. If x has more than two columns, only the first two columns will be used, and the second column will be spatially lagged.

y

A numeric vector. This is the variable to be spatially lagged. If x is a numeric matrix, there is no need to supply this argument.

listw

A list of spatial weights as provided by spdep::nb2listw

perm

Number of permutations.

CENT

Central tendency statistic used to compute the Moran Statistic. Defaults to mean

DESV

Dispersion statistic. Defaults to sd

Details

The bimoran function computes the value of the Bivariate Global Moran Statistic.

Author(s)

Osmar Leandro Loaiza Quintero

References

Anselin, Luc (1995). Local Indicators of Spatial Association. Geographical Analysis

See Also

bilisa.perm, unimoran, bimoran.test

Examples


data(usinc)

require(spdep)

lw<-nb2listw(
		poly2nb(usinc,queen=TRUE),style='W'
	)

bimoran(x=usinc$X2007, y=usinc$X2009, listw=lw)



spdyn documentation built on Oct. 28, 2024, 3 p.m.