An R version of Lake Analyzer