July 2016
Beginner to intermediate
832 pages
21h 51m
English

So far, you’ve been working almost exclusively with numeric values. But statistical programming also requires non-numeric values. In this chapter, we’ll consider three important non-numeric data types: logicals, characters, and factors. These data types play an important role in effective use of R, especially as we get into more complex R programming in Part II.
Logical values (also simply called logicals) are based on a simple premise: a logical-valued object can only be either TRUE or FALSE. These can be interpreted as yes/no, one/zero, satisfied/not satisfied, and so on. This is a concept that appears ...
Read now
Unlock full access