SSCC - Social Science Computing Cooperative Supporting Statistical Analysis for Research

3.1 Overview

This chapter provides an introduction to the following.

  • Data frame structure and how this relates to writing code

  • The pipe operator and how use it effectively

  • How to creating and modifying variables

  • Summarizing data

  • Conditionally and unconditionally subsetting a data frame

  • Conditional operations based on group inclusion

  • Reshaping data frames