rx5d: Maximum 5 days R

Description Usage Arguments Value References Examples

Description

Maximum consecutive 5-day precipitation

Usage

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

Arguments

data

daily precipitation, mm

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

precipitation, mm

References

Klein Tank AMG, Zwiers FW, Zhang X. 2009. Guidelines on analysis of extremes in a changing climate in support of informed decisions for adaptation, climate data and monitoring WCDMP-No 72, WMO-TD No 1500, p 5.

Examples

1
2

Example output

Loading required package: SPEI
Loading required package: lmomco
Loading required package: parallel
Loading required package: ggplot2
# Package SPEI (1.7) loaded [try SPEINews()].
Loading required package: chron
Loading required package: weathermetrics
    2050     2051     2052     2053     2054     2055     2056     2057 
      NA       NA       NA       NA       NA       NA       NA       NA 
    2058     2059     2060     2061     2062     2063     2064     2065 
      NA       NA       NA       NA       NA       NA       NA       NA 
    2066     2067     2068     1969     1970     1971     1972     1973 
      NA       NA       NA       NA       NA       NA       NA       NA 
    1974     1975     1976     1977     1978     1979     1980     1981 
      NA       NA       NA       NA       NA       NA 37.06288 54.19052 
    1982     1983     1984     1985     1986     1987     1988     1989 
82.66233 92.74092 82.72899 28.38336 36.96721 40.73579 55.60225 53.61367 
    1990     1991     1992     1993     1994     1995     1996     1997 
43.77509 44.05158 36.60930 49.62918 33.74943 49.86450 63.30606 36.97190 
    1998     1999     2000     2001     2002     2003     2004     2005 
45.29018 38.77984 33.22101 32.19712 58.34489 79.76687 40.96721 55.73526 
    2006     2007     2008     2009     2010     2011     2012     2013 
37.34974 38.17936 64.32975 39.67841 39.15573 40.36246 66.57941 54.66223 
    2014     2015     2016     2017 
53.63591 50.32373 63.60321 46.60874 

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