ValuesBetween2years: Get values between two years

Description Usage Arguments Value Author(s) Examples

View source: R/climtrends.R

Description

ValuesBetween2years returns all the values between 2 years, that is, the 1st and the last days of a year range.

Usage

1
ValuesBetween2years(dataYearSeries,intFromYear,intToYear)

Arguments

dataYearSeries

dataframe with climate data

intFromYear

starting year

intToYear

ending year

Value

values between two years.

Author(s)

Jose Gama

Examples

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)

climtrends documentation built on May 29, 2017, 11:58 p.m.