R code for statistical processing of DSASweb transects