Create r_analysis