R/trends.R
get_theilsen.RdFunction to get slope and intercept from Theil-Sen slope for plotting
get_theilsen(df, x = "analysis_result", y = "sample_date", ...)
| df | dataframe of groundwater data in tidy format |
|---|---|
| x | column for analysis result |
| y | column for sample date |
| ... | other arguements passed to @seealso [kendallTrendTest()] |