Learn R Programming

ENMTools (version 1.1.2)

raster.standardize: raster.standardize, standardizes all values in a raster file

Description

This function is used by a lot of the metrics calculated by ENMTools, in order to standardize suitability scores so they sum to 1 over a geographic space.

Usage

raster.standardize(x, verbose = FALSE)

Value

A new raster object, standardized so that values sum to 1

Arguments

x

A raster or RasterLayer object, or an ENMTools model object containing a suitability raster.

verbose

Controls printing of diagnostic messages

Examples

Run this code
raster.standardize(euro.worldclim[[1]])

Run the code above in your browser using DataLab