Lab 2A
Directions: Follow along with the slides and answer the questions in red font in your journal.
colors
when you load it.names
of the 4 variables that contain the point-totals, or scores, for each personality color.names
of the variables that tell us an observation's introvert/extrovert designation and whether they participated in playing sports.dotPlot
of the scores for your predominant color.
dotPlot
comes out looking wonky, try changing the value of the character expansion argument, cex
. 1
. Try a few values between 0
and 1
and a few more values larger than 1
.dotPlot
:
mean
value of your predominant color score: mean(~____, data = colors)
median
value of your predominant color.
mean
and median
roughly the same? If not, use the dotPlot
you made in the last slide to describe why.dotPlot
of your predominant color again; but this time, facet the plot based on the introvert/extrovert variable.dotPlot
.Assign
the mean values a name. Then place the name into the diff()
function to calculate the difference. How much more/less did introverts/extroverts score over the other for your predominant color?histogram
or dotPlot
as the horizontal spread.dotPlot
you made for your predominant color then fill in the blank:Data points in my plot will usually fall within ____ units of the center.
MAD(~_____, data = colors)