What’s the Relationship?

Lab 1E

Directions: Follow along with the slides and answer the questions in red font in your journal.

Finding patterns in data.

Where are the variables?

Multiple variable plots

scatterplots

Creating scatterplots

xyplot(____ ~ ____, data = food)

Scatterplots in action

4-variable scatterplots

Multiple facets

Create a dotPlot or histogram of the calories variable, but facet the data using:

healthy_level + salty_sweet 

How does the healthy_level of a Salty or Sweet snack impact the number of calories in the snack?

On your own