Usage
Pxy(x, d = NULL, fdist = 'e', 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.
d
- a matrix of the distances between spatial unit centroids
fdist
- the method used for distance interaction matrix:
e' for inverse exponential function (by default) and 'l' for linear.
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