thermalTimeDaily: Calculate thermal time using cardinal temperatures

Description Usage Arguments Value Examples

View source: R/thermalTime.R

Description

Calculate thermal time using cardinal temperatures

Usage

1
thermalTimeDaily(mint, maxt, x_temp, y_temp, method = NULL)

Arguments

mint

The minimum temperature

maxt

The maximum temperature

x_temp

The cardinal temperatures

y_temp

The effective thermal time

method

The method to calculate thermal time. The default method is ( maxt + mint ) / 2 - base. The three hour temperature methods will be usesd if method = '3hr'

Value

The thermal time.

Examples

1
2
3
4
5
6
mint <- c(0, 10)
maxt <- c(30, 40)
x_temp <- c(0, 20, 35)
y_temp <- c(0, 20, 0)
thermalTimeDaily(mint, maxt, x_temp, y_temp)
thermalTimeDaily(mint, maxt, x_temp, y_temp, method = '3hr')

weaana documentation built on Sept. 27, 2021, 5:12 p.m.