Lesson 2: Qualitative Data

Overview Section

In this session we'll work with some qualitative (or categorical) data, using Chapter 2 of Essential R.

Objectives

Upon completion of this lesson, you should be able to:

  • Differentiate between categorical (qualitative; factor) and continuous (quantitative; numeric) variables
  • Create qualitative data using factor()
  • make basic barcharts
  • read in data using scan()

Data and R Code Files Section

The R code file and data files for this lesson can be found on the Essential R - Notes on learning R page.