mean_adaptiveSSD {SSRTcalc} | R Documentation |
SSRT using mean method for studies with "adaptive" method of setting SSD
Description
Estimating SSRT using mean method for studies that use adaptive (increasing/decreasing by a given increment) stop-signal delays
Usage
mean_adaptiveSSD(df, rt_col, ssd_col, stop_col)
Arguments
df |
Dataframe with response time, accuracy, indication whether trial is stop or go, and delays for a given trial. |
rt_col |
Name of the column in the dataframe |
ssd_col |
Name of the column in the dataframe |
stop_col |
Name of the column in the dataframe |
Value
Spline-interpolated stop-signal reaction time corresponding roughly to 50
Examples
data(adaptive)
sapply(split(adaptive, adaptive$new_id), mean_adaptiveSSD, stop_col = 'vol',
ssd_col = 'soa', rt_col = 'RT_exp')
[Package SSRTcalc version 0.3.3 Index]