Function to quantify temperature hours below x.

count_down(tl, x, total = TRUE)

Arguments

tl

upper limit

x

Vector containing values (data).

total

TRUE Shows the total value of hours.

Value

The function returns the total value of hours.

Details

Function to quantify temperature hours below x.

Examples

x <- rnorm(1000, 15, 5) count_down(tl = 7.2, x = x, total = TRUE)
#> [1] 57