View source: R/neighborGrowing.R
neighborGrowing | R Documentation |
This function grows neighbor SpatialPolygonsDataFrame objects together
neighborGrowing(spdf, nb, ID.start = NULL, ID.class = NULL, return.input = TRUE, return.gUnaryUnionNeighbors = TRUE, quiet = TRUE)
spdf |
SpatialPolygonsDataFrame, or full path of a shapefile |
nb |
object neighborhood based on |
ID.start |
vector containing ID's where the growing starts. Default: NULL |
ID.class |
ID's of a specific class in order to allow growing only for class members. Default: NULL |
return.input |
spdf is returned with neighbor information. Default: TRUE |
return.gUnaryUnionNeighbors |
return united neighbors based on |
quiet |
no outputs in console. Default: TRUE |
list containing input SpatialPolygonsDataFrame with information on growing neighbors, geometry with united neighbors, or both (default)
SpatialPolygonsDataFrame input must have an ID field with unique numbers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.