GetPredictorsValues: Get predictor values for each occurence point.

View source: R/Recline.R

GetPredictorsValuesR Documentation

Get predictor values for each occurence point.

Description

Predictor values is the values of each geospatial layer (BIOCLIM) for each occurence point of the species of interest.

Usage

GetPredictorsValues(occurence.points, bioclim.data, bioclim.ext = "tif")

Arguments

occurence.points

a character string with the path to CSV file containing occurence points. Necessary columns in the CSV file are: Type, ID, Long, Lat, Clade.

bioclim.data

a character string with the path to geospatial layers (BIOCLIM or similar variables). The format of layers must be compatible with stack and extract methods of raster package.

bioclim.ext

a character string with the file extention of geospatial layers given in bioclim.data argument. By default is "tif" (geotif files).

Value

list with two collections, $raw (extracted BIOCLIM data for each occurence point) and $values (including columns ID, Type, and Clade of occurence.points + data from $raw collection).


dissipative/recline documentation built on March 22, 2023, 8:57 p.m.