clusterQuadrant: Cluster Quadrants

View source: R/clusterQuadrant.R

clusterQuadrantR Documentation

Cluster Quadrants

Description

This function is used by plot.lisaPerm to assign spatial units to a significant cluster based on the value of the Local Moran Statistic and standardized scores of the Local Moran Statistic.

Usage

clusterQuadrant(lmoran,signif=.05)

Arguments

lmoran

An object of class lisaPerm as returned by the functions lisa.perm or bilisa.perm

signif

Significance threshold for the p-values

Details

This is an internal function used by plot.lisaPerm

Author(s)

Osmar Leandro Loaiza Quintero

See Also

lisa.perm, bilisa.perm, plot.lisaPerm

Examples


data(usinc, package='spdyn')

require(spdep)

lw<-nb2listw(
		poly2nb(usinc,queen=TRUE),style='W'
	)
	
mylisa <- lisa.perm(usinc$X2009,listw=lw)

clusterQuadrant(mylisa)

my_bilisa <- bilisa.perm(x=usinc$X1929, y=usinc$X2009, listw=lw)

clusterQuadrant(my_bilisa)




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