Chapter 3. Describing Relationships
Is there a relationship between smoking and lung cancer? Do people who care for dogs live longer? Is your university's admissions department sexist?
Tackling these exciting questions is only possible when we take a step beyond simply describing univariate data sets—one step beyond!
Multivariate data
In this chapter, we are going to describe relationships, and begin working with multivariate data, which is a fancy way of saying samples containing more than one variable.
The troublemaker reader might remark that all the datasets that we've worked with thus far (mtcars
and airquality
) have contained more than one variable. This is technically true—but only technically. The fact of the matter is that we've only been ...
Get R: Data Analysis and Visualization now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.