- a character vector with the folder (directory)
where the shapefile is
shape
- a character vector with the name of the shapefile
(without the .shp extension)
Value
A vector with spatial units'perimeters.
}
description{
The function is based on pkg{rgdal} and pkg{rgeos}
packages and it can be used by providing a shape
file or a R spatial object (SpatialPolygonsDataFrame).
}
examples{
perimeter(GreHSize)
foldername <- system.file('extdata', package = 'OasisR')
shapename <- 'GreHSize'perimeter(folder = foldername, shape = shapename)
}
seealso{
Other spatial functions used for segregation indices
computation: code{area}, code{contig},
code{distance}, code{distcenter},
code{boundaries}, code{xgeo}
}