
Duncan
's
index by taking into account the interactions between spatial units
(contiguity). The function can be used in two ways: by providing a
contiguity matrix or a geographic source (spatial object or shape file)
wich will be used to compute the contiguity matrix within the functionMorill(x, c = NULL, spatobj = NULL, folder = NULL, shape = NULL)
Duncan
, Wong
, Gini
,
Gorard
Intergroup dissimilarity index: DI
x <- slot(GreHSize, 'data')[ ,3:5]
contiguity <- contig(GreHSize)
foldername <- system.file('extdata', package = 'OasisR')
shapename <- 'GreHSize'
Morill(x, c = contiguity)
Morill(x, spatobj = GreHSize)
Morill(x, folder = foldername, shape = shapename)
Run the code above in your browser using DataLab