cpt | R Documentation |
Continuous Performance Test (CPT) is a classical test for attention. There are many methods used to calculate the performance index of this task, and here only includes those common ones.
cpt(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. |
mrt |
Mean reaction time of hits. |
rtsd |
Standard deviation of reaction times of hits. |
dprime |
Sensitivity (d'). |
commissions |
Number of errors caused by action. |
omissions |
Number of errors caused by inaction. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.