Usage
ACL(x, spatmat = 'c', c = NULL, queen = TRUE, distin = 'm',
distout = 'm', diagval = '0', spatobj = NULL, folder = NULL, shape = NULL)
Arguments
x
- an object of class matrix (or which can be coerced to that class),
where each column represents the distribution of a population group, within
spatial units. The number of columns should be greater than 1 (at least 2
population groups are required). You should not include a column with total
population in each unit, because this will be interpreted as a group.
spatmat
- the method used for spatial calculations: 'c' for the
contiguity matrix (by default) or any other user spatial interaction matrix
and 'd' for the inverse exponential function of the distance.
c
- a modified binary contiguity (adjacency) symmetric matrix where
each element Cij equals 1 if i-th and j-th spatial
units are adjacent or identical, and 0 otherwise.
queen
- logical parameter difining criteria used for contiguity
matrix computation, TRUE (by default) for queen , FALSE for rook
distin
- input metric conversion, based on bink package and
includes conversions from 'm', 'km', 'inch', 'ft', 'yd', 'mi', 'naut_mi', etc.
distout
- output metric conversion, based on bink package and
includes conversions to 'm', 'km', 'inch', 'ft', 'yd', 'mi', 'naut_mi', etc.
diagval
- when providing a spatial object or a shape file,
the user has the choice of the spatial matrix diagonal definition:
diagval = '0' (by default) for an null diagonal and diagval = 'a'
to compute the diagonal as 0.6 * square root (spatial units area) (White, 1983)
spatobj
- a spatial object (SpatialPolygonsDataFrame) containing
geographic information
folder
- a character vector with the folder (directory)
name indicating where the shapefile with the geographic information
is located.
shape
- a character vector with the name of the shapefile
(without the .shp extension) which contains the geographic information