Description Usage Arguments Value
View source: R/helper_functions.R
Function to summarize question response accuracy
1 | get_quest_acc(dat, subj.col = subj, correct.col = is.correct)
|
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 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.