CovarExtract: Function to extract covariates from different rasters

Description Usage Arguments

View source: R/DataPreparation.R

Description

Original covariates raster may have different projections. CovarExtract allows to extract in these different projections.

Usage

1
CovarExtract(x, cov.paths, names.cov, is.factor)

Arguments

x

SpatialPointsDataFrame

cov.paths

vector of paths of all raster files to be added in the multi-layer raster

names.cov

Optional. vector of names of multi-layer raster. Same length as x.

is.factor

position of covariates that are factors or categories. Resampling (if required) is bilinear by default but "ngb" (nearest neighbour) for factors.


statnmap/SDMSelect documentation built on April 1, 2021, 2:01 p.m.