long_to_wide_mcq_excel {beezdiscounting}R Documentation

Reshape MCQ data from long to wide (as used in the 21- and 27-Item Monetary Choice Questionnaire Automated Scorer)

Description

Reshape MCQ data from long to wide (as used in the 21- and 27-Item Monetary Choice Questionnaire Automated Scorer)

Usage

long_to_wide_mcq_excel(dat, subj_col = "subjectid", ans_col = "response")

Arguments

dat

Long format MCQ data

subj_col

Character column name of subject ids

ans_col

Character column name of responses

Value

Wide format MCQ data that can be used in the Excel Automated Scorers

Examples

long_to_wide_mcq_excel(generate_data_mcq(2))

[Package beezdiscounting version 0.3.1 Index]