Create Activities_analysis.r