extractValues: extractValues

View source: R/extractValues.R

extractValuesR Documentation

extractValues

Description

Extracts bioclimatic data from WorldClim layers for data points.

Usage

extractValues(
  path,
  occ,
  location = "species",
  lon = "decimalLongitude",
  lat = "decimalLatitude",
  original_format = ".asc"
)

Arguments

path

character, the path to the folder containing the variables.

occ

table containing columns with the species name, longitude, and latitude.

location

character, name of the column containing location IDs, default is "species".

lon

character, name of the longitude column, default is "default is "decimalLongitude".

lat

character, name of the latitude column, default is default is "decimalLatitude".

original_format

character, indicates the format of the layers.

Value

This function returns the values for variables in each point.


EduardoArle/nicheRealisation documentation built on Jan. 12, 2023, 1:50 a.m.