vectorIsland: Count how many pts per poly for economic isolation

Description Usage Arguments Value Author(s)

View source: R/vectorIsland_pkg.R

Description

This function counts how many points per island.

Usage

1
vectorIsland(pts, polys)

Arguments

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'

Value

Returns a dataframe of how many points per polygon

Author(s)

Tyler J Tran, tylerjtran@gmail.com


mrhelmus/ieco documentation built on May 23, 2019, 7:37 a.m.