integration_adaptiveSSD {SSRTcalc} | R Documentation |
SSRT using integration method for studies with "adaptive" method of setting SSD
Description
Estimating SSRT using integration method for studies that use adaptive (increasing/decreasing by a given increment) stop-signal delays.
Usage
integration_adaptiveSSD(df, stop_col, rt_col, acc_col, ssd_col)
Arguments
df |
Dataframe with response time, accuracy, indication whether trial is stop or go, and delays for a given trial. |
stop_col |
Name of the column in the dataframe |
rt_col |
Name of the column in the dataframe |
acc_col |
Name of the column in the dataframe |
ssd_col |
Name of the column in the dataframe |
Value
SSRT corresponding to the nth rt - ssd; n = p(respond|signal)*number of goRTs
Examples
data(adaptive)
sapply(split(adaptive, adaptive$new_id), integration_adaptiveSSD, stop_col = 'vol',
ssd_col = 'soa', rt_col = 'RT_exp', acc_col = 'correct')
[Package SSRTcalc version 0.3.3 Index]