Learn R Programming

ClimInd (version 0.1-2)

wsd: Warm spell duration

Description

Count of days with at least 6 consecutive days when TX > 90th percentile.

Usage

wsd(data, data_names = NULL, time.scale = YEAR, na.rm = FALSE)

Arguments

data

maximum temperature

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

Warm spell duration index

Examples

Run this code
# NOT RUN {
data(data_all)
wsd(data=data_all$tx)
# }

Run the code above in your browser using DataLab