Function to quantify temperature hours above x.

count_up(tl, x, total = TRUE)

Arguments

tl

lower 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 above x.

Examples

x <- rnorm(500, 20, 10) count_up(tl = 30, x = x, total = TRUE)
#> [1] 81