roseDiagram: Rose diagram

View source: R/roseDiagram.R

roseDiagramR Documentation

Rose diagram

Description

Rose diagram to assess the spatial changes of a variable throught time.

Usage

roseDiagram(t1,t2,listw)

Arguments

t1

A numeric vector. The value of the variable of interest at the beginning of the time period.

t2

A numeric vector. The value of the variable of interest at the beginning of the end time period.

listw

List of spatial weights as returned by nb2listw

Details

This function plots a Rose Diagram as suggested by Ray, Murray and Anselin (2010), in order to assess changes in the spatial distribution of a variable between two distinct time periods.

Author(s)

Osmar Leandro Loaiza Quintero

References

Rey, Sergio; Murray, Alan and Anselin, Luc (2011). "Visualizing regional income distribution dynamics." Lett Spat Resour Sci 4:81-90. DOI 10.1007/s12076-010-0048-2

See Also

lisa.perm, bilisa.perm

Examples


data(usinc, package="spdyn")

require(spdep)
nb <- poly2nb(usinc,queen=TRUE)
nbw <- nb2listw(nb)

roseDiagram(t1=usinc$X2007, t2=usinc$X2009, listw=nbw)
 


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