added R script for processing logger data