Description Usage Arguments Value Author(s) Examples
ValuesBetween2years
returns all the values between 2 years, that is, the 1st and the last days of a year range.
1 | ValuesBetween2years(dataYearSeries,intFromYear,intToYear)
|
dataYearSeries |
dataframe with climate data |
intFromYear |
starting year |
intToYear |
ending year |
values between two years.
Jose Gama
1 2 3 4 5 6 | # xgdcnCA008201000.dat is from ECA COLLEGEVILLE temperature
setwd(system.file('extdata/', package='climtrends'))
dailyCollegeville=ReadGHCNymd('xgdcnCA008201000.dat')
yearlyCollegeville=YearFuncFromDay(dailyCollegeville)
colnames(yearlyCollegeville) <- c('year','temperature')
yearlyCollegeville<-ValuesBetween2years(yearlyCollegeville,1918,1993)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.