sin_h {Mapinguari} | R Documentation |
Sinervo (2010) hours of activity model
Description
sin_h
Simulates daily variation in temperature and counts amount of time above a temperature threshold, as seen in Sinervo et al. 2010.
Usage
sin_h(tmax, tmin, thrs, res)
Arguments
tmax |
Raster* object. Maximum temperature raster. |
tmin |
Raster* object. Minimum temperature raster. |
thrs |
numeric. Temperature threshold in same unit as rasters. |
res |
numeric. time resolution in parts of hour. |
Value
numeric. Amount of time in hours above temperature threshold in simulated daily temperature variation.
Examples
sin_h(28, 10, 23, 3)
[Package Mapinguari version 2.0.1 Index]