continentality {envirem} | R Documentation |
Continentality
Description
Generate Continentality index.
Usage
continentality(tmax, tmin, tempScale = 1)
Arguments
tmax |
rasterLayer of average temperature of the warmest month |
tmin |
rasterLayer of average temperature of the coldest month |
tempScale |
integer; scaling factor for the temperature data, see envirem for additional details. |
Details
continentality index = tmax - tmin
Value
rasterLayer in units of 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)
meantempWarmest <- temp[['meanTempWarmest']]
meantempColdest <- temp[['meanTempColdest']]
continentality(meantempWarmest, meantempColdest, tempScale = 10)
[Package envirem version 3.0 Index]