Useful info from an homogenization test

Description

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

Usage

1
2
3
GetInfoHomogenization(dataYearSeries=NA,refYearSeries=NA,nYears=20, 
diffFlag=TRUE,returnData=FALSE, homogenization=SNHTabsolute,
levelSignificance=c(99,95),criticalValues=climtrends::SNHT.Critical.Values)

Arguments

dataYearSeries

dataframe with climate data

refYearSeries

dataframe with climate data (reference)

nYears

window of years to adjust

diffFlag

logical TRUE=difference, FALSE=ratio

returnData

logical TRUE=return the homogenization test data

homogenization

homogenization test

levelSignificance

level of significance

criticalValues

critical values for the homogenization test

Value

number of wet days.

Author(s)

Jose Gama

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