add step-wise R analysis scripts