Description Usage Arguments Value Author(s) Examples
YearFuncFromDay
returns annual values converted by a function from daily values.
YearMeanFromDay
returns annual values averaged from daily values.
1 | YearFuncFromDay(yearDF, datecol=1,valcol=2, yfunc=mean)
|
yearDF |
dataframe with climate data |
datecol |
column with dates |
valcol |
column with values |
yfunc |
function to apply on the data |
Annual values.
Jose Gama
1 2 3 4 | # xgdcnCA008201000.dat is from ECA COLLEGEVILLE temperature
setwd(system.file('extdata/', package='climtrends'))
dailyCollegeville=ReadGHCNymd('xgdcnCA008201000.dat')
yearlyCollegeville=YearFuncFromDay(dailyCollegeville)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.