Learn R Programming

ENMTools (version 1.1.2)

check.env: Automating some basic tasks for using a raster stack for modeling. Checks rasters for same extent and resolution, and sets values in each layer to NA if there is an NA in any other layer.

Description

Automating some basic tasks for using a raster stack for modeling. Checks rasters for same extent and resolution, and sets values in each layer to NA if there is an NA in any other layer.

Usage

check.env(env, verbose = FALSE)

Value

A raster stack.

Arguments

env

A stack of environmental rasters

verbose

Controls printing of progress messages

Examples

Run this code
check.env(euro.worldclim)

Run the code above in your browser using DataLab