obtainCovariate {intSDM}R Documentation

obtainCovariate: Function to obtain a covariate later for a specified country.

Description

Function to obtain covariate layers from WorldClim around a specified area.

Usage

obtainCovariate(covariates, res, projection, path)

Arguments

covariates

A vector of covariate names to obtain.

res

Resolution of the worldclim variable. Valid options are: 10, 5, 2.5 or 0.5 (minutes of a degree).

projection

Coordinate reference system to use in analysis.

path

The path where the covariate will be saved.

Value

A spatialRaster object of the covariates across the specified area.


[Package intSDM version 2.1.0 Index]