zcd: Zero crossing days

Description Usage Arguments Value Examples

Description

Number of days with TX > 0 Celsius and TN < 0 Celsius.

Usage

1
zcd(tmax, tmin, data_names = NULL, time.scale = YEAR, na.rm = FALSE)

Arguments

tmax

daily maximum temperature, Celsius

tmin

daily minimum temperature, Celsius

data_names

names of each period of time

time.scale

month, season or year

na.rm

logical. Should missing values (including NaN) be removed?

Value

days

Examples

1
2
data(data_all)
zcd(tmax=data_all$tx, tmin=data_all$tn)

ClimInd documentation built on April 10, 2021, 1:06 a.m.