Description Usage Arguments Value Author(s)
View source: R/vectorIsland_pkg.R
This function counts how many points per island.
1 | vectorIsland(pts, polys)
|
pts |
SpatialPointsDataFrame of whatever data you want to count per island (ex port shapefile to see how many ports per island). |
polys |
SpatialPolygonsDataFrame of islands. polys@data must have a column 'uniqueID' |
Returns a dataframe of how many points per polygon
Tyler J Tran, tylerjtran@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.