Learn R Programming

wq (version 0.4.3)

trendHomog: Trend homogeneity test

Description

Tests for homogeneity of seasonal trends using method proposed by van Belle and Hughes (1984).

Usage

trendHomog(x)

Arguments

Value

chisq.trend"Trend" chi-square.chisq.homog"Homogeneous" chi-square.p.valueFor null hypothesis that trends are homogeneous.

References

van Belle, G. and Hughes, J.P. (1984) Nonparametric tests for trend in water quality. Water Resources Research 20, 127-136.

See Also

seaKen

Examples

Run this code
## Apply to a monthly vector time series to test homogeneity 
## of seasonal trends.
x <- sfbayChla[, 's27']
trendHomog(x)

Run the code above in your browser using DataLab