sin_h: Sinervo (2010) hours of activity model

View source: R/standardFUNs.R

sin_hR 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)


gabrielhoc/Mapinguari documentation built on July 6, 2023, 6:40 p.m.