Gives the node local Moran-I, Getis-Gstar or Geary-c correlations
Source
*"A Local Indicator of Multivariate SpatialAssociation: Extending Geary's c, Geographical Analysis" Luc Anselin (2018) doi:10.1111/gean.12164
NodeLocalCorrelation(obj, dep_type ="moran", intensity)## S3 method for class 'intensitynet'NodeLocalCorrelation(obj, dep_type = c("moran","getis","geary"), intensity)
Arguments
obj: intensitynet object
dep_type: 'moran', 'getis' or 'geary'. Type of local correlation to be computed (Moran-i, Getis-Gstar, Geary-c), default = 'moran'.
intensity: vector containing the values to calculate the specified correlation for each node in the network.
Returns
a vector containing two values. The first value is a vector with the specified local correlations for each node. The second values is the given intensitynet class object but with the correlations added to the node attributes of its network.