Learn R Programming

climtrends (version 1.0.6)

ListHomogTZ: Useful info from an homogenization test

Description

ListHomogTZ calculates the SNHT or other method of homogenization and returns useful info on the screen, such as the year of change, To value, adjust value and more.

Usage

ListHomogTZ(dataYearSeries=NA,refYearSeries=NA,diffFlag=TRUE, homogenization=SNHTabsolute, testName='')

Arguments

dataYearSeries
dataframe with climate data
refYearSeries
dataframe with climate data (reference)
diffFlag
logical TRUE=difference, FALSE=ratio
homogenization
homogenization test
testName
optional title for the report

Value

none.

Examples

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

Run the code above in your browser using DataLab