tn10p: Percentage of cold nights

Description Usage Arguments Value Formula Examples

Description

Percentages of days with TN lower than the 10th percentile. The 10th percentile is computed based on the time scale selected (month, season or year) not daily as ETCCDI does. If you want to compute daily you can use RClimDex package.

Usage

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

Arguments

data

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

percentage

Formula

cn = \frac{No. days TN < 10p} {No. days} * 100

Examples

1
2

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