Learn R Programming

climtrends (version 1.0.6)

DailyClimatologyFromDailyData: Daily climatology

Description

DailyClimatologyFromDailyData returns the daily climatology (long-term average, for each day, of a given variable).

Usage

DailyClimatologyFromDailyData(dataSeries,fromYear=1961,toYear=1990)

Arguments

dataSeries
time series of climate data
fromYear
start of the long-term average
toYear
end of the long-term average

Value

Daily climatology.

Examples

Run this code
# xgdcnCA008201000.dat is from ECA COLLEGEVILLE temperature
setwd(system.file('extdata/', package='climtrends'))
dailyCollegeville <- ReadGHCNymd('xgdcnCA008201000.dat')
dailyCollegevilleDailyClimatology <- DailyClimatologyFromDailyData(dailyCollegeville)

Run the code above in your browser using DataLab