dot-coords2country: Extracts country ISO3 based on locations

.coords2countryR Documentation

Extracts country ISO3 based on locations

Description

Extracts country ISO3 based on locations

Usage

.coords2country(
  xydat,
  .countries.shapefile = NULL,
  .points.proj4string = NULL,
  ctryNameField = NULL,
  verbose = FALSE
)

Arguments

xydat

A dataframe with x and y coordinates

.countries.shapefile

SpatialPolygonsDataFrame of world countries and their associated ISO3 codes

.points.proj4string

Proj4string for the occurrence data

ctryNameField

character. Column name in .countries shapefile where ISO3 are indicated

verbose

logical. Print messages?

Value

Factor with ISO3 codes for countries

Author(s)

Josep M Serra Diaz

See Also

Other Geo: .getSRTM()


occTest documentation built on Nov. 18, 2022, 5:07 p.m.