Lab 2G
Directions: Follow along with the slides and answer the questions in red font in your journal.
colors
.stress
.How do people’s personality colors and/or sports participation affect their stress levels?
colors
and stress
data?names
of the variables in each data set.
height
in meters and height
in inches, for instance (without converting one to the other).R
won’t know which observation to match to.colors
data onto the stress
data.user.id
in the colors
data is unique.
colors
data.merge
function to join our data sets together using the variables that appear in both sets.colors
data onto the stress
.Assign
this merged
data set the name stress_colors
.
View
your merged data and make sure nothing appears to be blatantly wrong with it.merge
function?save
our stress_color
data for later use.stress
data and facet or group the plots based on variables from the colors
data.
stress_color
data?