calc_sumefftemp: Calculate sum of effective temperatures (SET)

View source: R/calc_sumefftemp.R

calc_sumefftempR Documentation

Calculate sum of effective temperatures (SET)

Description

Calculate sum of effective temperatures (SET)

Usage

calc_sumefftemp(x, cf_temp, cf_start, cf_end, cf_limit, set, a, b)

Arguments

x

SpatRaster list (tmean, tmax, tmin) - numeric - with time attribute

cf_temp
  • character - "tmean" for cold days and "tmin" for frost days

cf_start
  • Date - start of cold/frost timeseries

cf_end
  • Date - end of cold/frost timeseries

cf_limit
  • numeric - threshold under which a day is defined as cold/frost day

set
  • function - x is cold/frost days, a and b are parameter i.e. function (x, a, b) a + b*x

a
  • numeric - parameter for set function

b
  • numeric - parameter for set function

Value

SpatRaster with sum of effective temperatures.

See Also

Other Models: calc_degreedays(), calc_mortality(), calc_phenology()


PHENTHAUproc documentation built on June 22, 2024, 7:12 p.m.