Description Usage Arguments Value Author(s) Examples
WetDayCount
returns the number of wet days with a certain threshold in mm).
1 | WetDayCount(yearDF, datecol, valcol, vthreshold)
|
yearDF |
dataframe with climate data |
datecol |
column with dates |
valcol |
column with precipitation data |
vthreshold |
threshold in mm |
number of wet days.
Jose Gama
1 2 3 4 5 | setwd(system.file('extdata/', package='climtrends'))
z<-ReadECAdata('RR_SOUID101991.txt')
d1900.2000<-z[which(z[,1]<'2001-01-01'),]
d1900.2000<-d1900.2000[which(d1900.2000[,1]>='1900-01-01'),]
y1900.2000w<-WetDayCount(d1900.2000,1,2,10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.