Notes on the use of R for psychology experiments and questionnairesJonathan Baron Department of Psychology, University of Pennsylvania Yuelin Li Department of Psychiatry & Behavioral Sciences Memorial Sloan-Kettering Cancer Center *March 6, 2011 Contents 1 Introduction 2 A few useful concepts and commands 2.1 Concepts 2.2 Commands 2.2.1 Getting help 2.2.2 Installing packages 2.2.3 Assignm