search for: qxfirst

Displaying 1 result from an estimated 1 matches for "qxfirst".

Did you mean: qfirst
2004 Jun 08
2
Recoding a multiple response question into a series of 1, 0 variables
Hello R folks. 1) The question that generated the data, which I call Qx: Which of the following 5 items have you performed in the past month? (multipe response) 2) How the data is coded in my current dataframe: The first item that a person selected is coded under a field called Qxfirst; the second selected under Qxsecond, etc. For the first Person, the NAs mean that that person only selected two of the five items. Hypothetical data is shown Qxfirst Qxsecond Qxthird Qxfourth Qxfifth Person1 4 2 NA NA...