Function to get slope and intercept from Theil-Sen slope for plotting

get_theilsen(df, x = "analysis_result", y = "sample_date", ...)

Arguments

df

dataframe of groundwater data in tidy format

x

column for analysis result

y

column for sample date

...

other arguements passed to @seealso [kendallTrendTest()]