Learn R Programming

climtrends (version 1.0.6)

ListHomogStats: List with the years of a probable shift and other info

Description

ListHomogStats applies an homogenization method and returns a list with the years of a probable shift and other useful results. Equivalent to the "Homogenization Overview" in AnClim.

Usage

ListHomogStats(dataYearSeries=NA,refYearSeries=NA,diffFlag=TRUE, homogenization=SNHTabsolute,levelSignificance=c(99,95), criticalValues=climtrends::SNHT.Critical.Values,userDefSymbol='<',nyears=20)< div="">

Arguments

dataYearSeries
dataframe with climate data
refYearSeries
dataframe with climate data (reference)
diffFlag
logical TRUE=difference, FALSE=ratio
homogenization
homogenization test
levelSignificance
level of significance
criticalValues
critical values for the homogenization test
userDefSymbol
symbol used to represent the level of significance
nYears
window of years to adjust

Value

none.

Examples

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

Run the code above in your browser using DataLab