Learn R Programming

climtrends (version 1.0.6)

WorsleyLikelihoodRatio: Worsley's Likelihood Ratio test

Description

WorsleyLikelihoodRatio returns the result of Worsley's Likelihood Ratio test applied to a time series.

Usage

WorsleyLikelihoodRatio(yearDF, datecol=1,valcol=2, returnZk=FALSE)

Arguments

yearDF
dataframe with climate data
datecol
column with dates
valcol
column with values
returnZk
return calculated data Zk

Value

The result of Worsley's Likelihood Ratio test.

Source

Wijngaard, J. B., Klein Tank, A. M. G. and Können, G. P. (2003), Homogeneity of 20th century European daily temperature and precipitation series. Int. J. Climatol., 23: 679–692. doi: 10.1002/joc.906

References

Wijngaard, J. B., Klein Tank, A. M. G. and Können, G. P. (2003), Homogeneity of 20th century European daily temperature and precipitation series. Int. J. Climatol., 23: 679–692. doi: 10.1002/joc.906

Examples

Run this code
demo(demoWorsleyLR)

Run the code above in your browser using DataLab