coord2net2: Add polygon ID to object with long and lat

Description Usage Arguments Examples

View source: R/BrandDensity2.R

Description

Overlay spatial polygon dataframe object over object with lon and lat. The function outputs coordFile with SpFile2ID added

Usage

1
coord2net2(SpFile2, SpFile2ID, coordFile, lonName, latName)

Arguments

SpFile2

a spatial polygon dataframe object

SpFile2ID

a text field that identifies a varibale that defines polygon in the sp dataframe

coordFile

an object with long and lat

lonName

name of longitude variable in coordFile

latName

name of latitude variable in coordFile

Examples

1
2
3
4
## Not run: 
coord2net2(net_coord_SP_base,"ID",coordFile=someObject,lonName=long,latName=lat)

## End(Not run)

kostya75/kmGeoHelper documentation built on July 1, 2020, 4:56 a.m.