thermicityIndex {envirem} | R Documentation |
Compensated Thermicity index
Description
Compensated Thermicity index
Usage
thermicityIndex(
annualTemp,
minTemp,
maxTemp,
continentality,
returnCompensated = TRUE,
tempScale = 1
)
Arguments
annualTemp |
rasterLayer, mean annual temperature |
minTemp |
rasterLayer, min temp of the coldest month |
maxTemp |
rasterLayer, max temp of the coldest month |
continentality |
rasterLayer, continentality index |
returnCompensated |
logical: if |
tempScale |
integer; scaling factor for the temperature data, see envirem for additional details. |
Details
thermicity index = tempRange + minTemp + maxTemp
The compensated thermicity index incorporates corrections designed to make this metric more appropriately comparable across the globe.
Value
rasterLayer in degrees C
Author(s)
Pascal Title
References
Rivas-Martínez, S. & Rivas-Sáenz, S. “Synoptical Worldwide Bioclimatic Classification System”. Available online at http://www.globalbioclimatics.org/ [accessed 15 February 2016]
Sayre, R., Comer, P., Warner, H. & Cress, J. (2009) A new map of standardized terrestrial ecosystems of the conterminous United States: US Geological Survey Professional Paper 1768. Reston, VA.
See Also
Examples
# Find example rasters
rasterFiles <- list.files(system.file('extdata', package='envirem'), full.names=TRUE)
env <- rast(rasterFiles)
# identify appropriate layers
tmean <- grep('tmean', names(env))
tmin <- grep('tmin', names(env))
tmax <- grep('tmax', names(env))
tmean <- env[[tmean]]
tmin <- env[[tmin]]
tmax <- env[[tmax]]
# calculate temperature extremes
temp <- otherTempExtremes(tmean, tmin, tmax)
ci <- continentality(temp[['meanTempWarmest']], temp[['meanTempColdest']], tempScale = 10)
# compensated thermicity index
thermicityIndex(env[['bio_1']], env[['bio_6']], temp[['maxTempColdest']], ci, tempScale = 10)