Learn R Programming

climtrends (version 1.0.6)

MonthlyClimatologyFromDailyData: Monthly climatology

Description

MonthlyClimatologyFromDailyData returns the monthly climatology (long-term average, for each month, of a given variable).

Usage

MonthlyClimatologyFromDailyData(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

Monthly climatology.

Examples

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

Run the code above in your browser using DataLab