counts | R Documentation |
These functions count the number of correct responses. countcorrect()
counts the correct responses regardless of errors, countcorrect2()
subtracts the number of errors from number of correct responses,
sumweighted()
counts the correct responses by giving a weight for different
responses, sumscore()
adds up the score for each response.
countcorrect(data, .by = NULL, .input = NULL, .extra = NULL)
countcorrect2(data, .by = NULL, .input = NULL, .extra = NULL)
sumweighted(data, .by = NULL, .input = NULL, .extra = NULL)
sumscore(data, .by = NULL, .input = NULL, .extra = NULL)
data |
Raw data of class |
.by |
The column name(s) in |
.input , .extra |
Each is a |
An object with the same class as data
contains following values:
nc |
Count of correct responses. For |
nc_cor |
Corrected count of correct responses (subtracting number of
errors). For |
nc_weighted |
Count of weighted correct responses. For
|
nc_score |
Sum of scores. For |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.