R analysis code produced during analysis