continentality: Continentality

View source: R/continentality.R

continentalityR 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

thermicityIndex

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)


envirem documentation built on Aug. 26, 2023, 1:07 a.m.