Using the .csv version of the data you read in,
1. Convert the variable games to a numeric variable.
2. Convert the numeric version of games to a character variable.
3. Convert the character version of games to a factor variable.
1.
mcs1$games.num <- as.numeric(mcs1$games)
class(mcs1$games.num)
[1] "numeric"
2.
mcs1$games.char <- as.character(mcs1$games.num)
class(mcs1$games.char)
[1] "character"
3.
mcs1$games.factor <- as.factor(mcs1$games.char)
class(mcs1$games.factor)
[1] "factor"
You might also like to view...
The non-positivist critique of measurement in science would most likely state that a. social scientists can discover what is in the world without creating it. b. the process of measurement is not nearly as objective as the positivistssuggest
c. error in measurement has been largely eliminated. d. the process of measurement is more objective than the positivists suggest.
Medicare and the Older Americans Act were passed in the 1930s as a response to
the Great Depression. Indicate whether the statement is true or false
If after assessing the victim's pulse and discovering there is no pulse, what would the next step be?
Creative arts therapy is the selected use of recreational activities as an aid to the treatment of mental disorders
Indicate whether the statement is true or false