Chapter 1 (1.8-1.10) Flashcards
True or false: “mean” and “average” is the same thing in R.
True
How do you access the values of a single variable?
You use the “$” character.
What does a variable’s mean/average characterize?
Its central tendency.
How do you calculate the mean of a variable?
You use the “mean()” function.
True or false: the name of an object can begin with a number and contain “$” and “%”.
False
The quantity in which a value is measured is called what?
“unit of measurement”.
What’s the difference between interpreting the mean of a binary variable and a non-binary variable?
binary variables: multiply the result by 100 (%)
non-binary variables: keep the same unit of measurement as the variable