Identify outliers via point and click on temp vs salinity plot

IDoutlier2(dat, tempname, salname, dfname)

Arguments

dat

dataframe with columns for date or temperature, salinity, and row (has to be called row)

tempname

name of column for temperature, in quotes

salname

name of column for salinity, in quotes

dfname

plot title