finalizing interventionAnalyzer.R