long_to_wide_mcq {beezdiscounting}R Documentation

Reshape MCQ data long to wide

Description

Reshape MCQ data long to wide

Usage

long_to_wide_mcq(dat, q_col = "questionid", ans_col = "response")

Arguments

dat

Long format MCQ

q_col

Name of the question column (default is "questionid")

ans_col

Name of the answer column (defualt is "response")

Value

Wide format data frame


[Package beezdiscounting version 0.3.1 Index]