seasonalWave.wt: Compute Seasonal Wave Model

View source: R/seasonalWave.wt.R

seasonalWave.wtR Documentation

Compute Seasonal Wave Model

Description

This is a support function for seasonalWave model (Vecchia and others, 2008).

Usage

seasonalWave.wt(loading, second.peak)

Arguments

loading

the number of months of primary loading for the seasonal wave model.

second.peak

a list describing the loading characteristics of the second peak. See Details. If NULL, then no second peak is added to the seasonal wave model.

Details

If second.peak is supplied, then it must be a list with these components:
la, the lag (number of months) between the primary and second peak;
lo, the loading duration (number of months) for the second peak (must be less than la;
w, the weigthing factor for the second peak loading, relative to the primary peak. Must be greater than 0 and less than or equal to 1.

Value

The weighting vector for the seasaon wave model. A vector of length 12 that represents the relative loading to the system.

Note

This function is support for the seasonalWave function and is not intended to be called by the user.

References

Vecchia, A.V., Martin, J.D., and Gilliom, R.J., 2008, Modeling variability and trends in pesticide concentrations in streams: Journal of the American Water Resources Association, v. 44, no. 5, p. 1308-1324.

See Also

seasonalWave


USGS-R/smwrStats documentation built on Oct. 11, 2022, 6:15 a.m.