Description Usage Arguments Value Examples
View source: R/TheilSenTrendFunctions.R
Calculates annual linear trend of average values and significance of with Theil-Sen Estimator (used for robust to non-normal data)
1 | annualtrend.ts(record, valuecol, datecol, var, monthlybias = FALSE)
|
record |
dataframe with record of estimated water quality |
valuecol |
string, name of column with water quality values |
datecol |
string, name of column with dates |
var |
string, aggregator (e.g. mean, max) |
monthlybias, |
calculates annual average using monthly averages (in case of differing numbers of samples for each month) |
summary of the Theil-Sen estimator
1 2 3 | data(estimatedrecord)
annualtrend.ts(record=estimatedrecord,valuecol="EstChlValue",
datecol="ImageDate",var="mean",monthlybias="TRUE")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.