Percentage of cold days
Percentages of days with TX 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.
tx10p(data, data_names = NULL, time.scale = YEAR, na.rm = FALSE)
data |
daily maximum 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? |
percentage
cd = \frac{No. days TX < 10p} {No. days} * 100
data(data_all) tx10p(data=data_all$tx)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.