long_to_wide_mcq {beezdiscounting} | R Documentation |
Reshape MCQ data long to wide
long_to_wide_mcq(dat, q_col = "questionid", ans_col = "response")
dat |
Long format MCQ |
q_col |
Name of the question column (default is "questionid") |
ans_col |
Name of the answer column (defualt is "response") |
Wide format data frame