add. some R scripts migrated from https://github.com/rfaulkner/E3_analysis