gwl_zyp_test: Perform Mann-Kendall trend test on many wells

View source: R/gwlZypTest.R

gwl_zyp_testR Documentation

Perform Mann-Kendall trend test on many wells

Description

Uses the zyp package to calculate Mann-Kendall trend test on pre-whitened data (to remove autocorrelation) for many wells, using one or both of two pre-whitening methods, see zyp documentation.

Usage

gwl_zyp_test(dataframe, wells = NULL, byID = "Well_Num",
  col = "mean_GWL", method = "both")

Arguments

dataframe

Dataframe containing: an ID column (specified in by) and a column of values

wells

Vector of well numbers to test. Default NULL does all in dataframe

byID

The name of the ID column

col

The name of the column with the GWL values

method

"both" (default), "yuepilon", or "zhang"

Value

A dataframe of results for all wells evaluated.


bcgov/bcgroundwater documentation built on March 18, 2024, 5:43 a.m.