get_quest_acc: Function to summarize question response accuracy

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Function to summarize question response accuracy

Usage

1
get_quest_acc(dat, subj.col = subj, correct.col = is.correct)

Arguments

dat

data containing subject identifiers and information about question answering accuracy. The data has to contain just one region and one eye-tracking measure in case of eye-tracking data.

subj.col

unquoted name of the column containing subject identifiers

correct.col

unquoted name of the column containing indicator of whether the question was answered correctly

Value

a dataframe with 4 columns: subject number, total number of questions (will be different if you removed some trials), number of correctly answered questions, proportion of correct answers.


antonmalko/ettools documentation built on May 28, 2019, 3:35 p.m.