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

View source: R/raster.standardize.R

raster.standardizeR Documentation

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)

Arguments

x

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

verbose

Controls printing of diagnostic messages

Value

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

Examples

raster.standardize(euro.worldclim[[1]])

danlwarren/ENMTools documentation built on April 23, 2024, 3:12 p.m.