Chapter 1 (1.7) Flashcards
True or false: rows are variables and columns are observations.
False
True or false: binary variables can take no more than two values.
True
True or false: non-binary variables can take more than two values.
True
What does “n” in R refer to?
The total number of observations in a dataframe.
How are datasets typically organized?
As dataframes.
True or false: an observation is the information collected from a particular individual or entity in the study.
True
How is an observation in a dataframe denoted?
As “i”.
How is the first observation in a dataframe written?
“i=1”.
How is the 10th observation in a dataframe written?
“i=10”.
Character variables contain what?
Text.
Numeric variables contain what?
Numbers.