Checksfor the number of agriCat neighbors for each node within a specified radius.
check_neighbors(v, graph, agriCat, NNeighbors, radius)
Node for check neighbors.
Graph object representing the habitat.
Category value in the graph to allocate.
Number of neighbors to check for each AgriCat node.
Radius within which to check for neighbors.
Node if it meets the NNeighbors condition.