Learn R Programming

climtrends (version 1.0.6)

AdjHomogenization: Homogenization adjustment within a certain window

Description

AdjHomogenization returns the value for homogenization adjustment within a certain window.

Usage

AdjHomogenization(dataYearSeries=NA,yearShift=NA,nYears=20, diffFlag=TRUE)

Arguments

dataYearSeries
dataframe with climate data
yearShift
year when the shift occured
nYears
window of years to adjust
diffFlag
logical TRUE=difference, FALSE=ratio

Value

homgenized data.