monthly.anomalies.from.daily.data: Monthly anomalies

Description Usage Arguments Value Author(s) Examples

Description

MonthlyAnomaliesFromDailyData returns the monthly anomalies (observed values minus climatology) for a certain year.

Usage

1
2
MonthlyAnomaliesFromDailyData(dataSeries, yearAnomalies = NA, fromYear=1961,
 toYear=1990)

Arguments

dataSeries

time series of climate data

yearAnomalies

year of observed values

fromYear

start of the long-term average for the climatology

toYear

end of the long-term average for the climatology

Value

Monthly anomalies.

Author(s)

Jose Gama

Examples

1
2
3
4
# xgdcnCA008201000.dat is from ECA COLLEGEVILLE temperature
setwd(system.file('extdata/', package='climtrends'))
dailyCollegeville <- ReadGHCNymd('xgdcnCA008201000.dat')
MonthlyAnomaliesFromDailyData(dailyCollegeville, 1960)

Example output

      month           
 [1,]     1 -0.5988713
 [2,]     2  2.6621354
 [3,]     3 -1.4361290
 [4,]     4 -0.8648889
 [5,]     5  3.0334816
 [6,]     6  0.5960000
 [7,]     7  0.2917204
 [8,]     8  1.5687097
 [9,]     9  1.2167739
[10,]    10 -0.7642710
[11,]    11 -0.1219540
[12,]    12  0.1054876

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