Calculate the maximum days which degree days is more than "key.degree.day"

maximumDays(degree.day, key.degree.day = 400)

Arguments

degree.day

A vector of accumulated temperature

key.degree.day

The periods for moving window

Value

The probability occuring a certain days extreme temperature