Description Usage Arguments Value Author(s) Examples
FillDailyGapsWithSomeValue
fills (literally) missing days with date+some value.
1 | FillDailyGapsWithSomeValue(dataYearSeries,FromDate,ToDate, missingValue=-9999)
|
dataYearSeries |
dataframe with climate data |
FromDate |
starting date |
ToDate |
ending date |
missingValue |
value representing missing data |
complete time series.
Jose Gama
1 2 3 4 5 6 7 | # xgdcnCA008201000.dat is from ECA COLLEGEVILLE temperature
setwd(system.file('extdata/', package='climtrends'))
dailyCollegeville <- ReadGHCNymd('xgdcnCA008201000.dat')
daylyCollegeville2<-FillDailyGapsWithSomeValue(dailyCollegeville,
'1916-06-01','2010-11-30', missingValue=NA)
str(dailyCollegeville)
str(daylyCollegeville2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.