rescale0to1 {climateStability} | R Documentation |
A function to rescale a raster from 0 to 1. This is done using the formula (value-min)/(max-min).
rescale0to1(rasterForCalculation)
rasterForCalculation |
A raster that contains data to be rescaled |
A raster that has been rescaled from 0 to 1
Owens, HL, and RP Guralnick. Submitted, Biodiversity Informatics.
data(precipDeviation); precipStability <- 1/precipDeviation; relativeClimateStability <- rescale0to1(precipStability);