This function calculates the Sodium Adsorption Ratio (SAR) for water quality.
calculate_sar(df, convert_units = FALSE)
df
dataframe
convert_units
logical, for conversion to meq/l
SAR values