List with the years of a probable shift and other info

Share:

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

1
2
3
ListHomogStats(dataYearSeries=NA,refYearSeries=NA,diffFlag=TRUE,
homogenization=SNHTabsolute,levelSignificance=c(99,95),
criticalValues=climtrends::SNHT.Critical.Values,userDefSymbol='<',nYears=20)

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.

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')
ListHomogStats(dailyCollegeville)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.