powered by
Estimating SSRT using mean method for studies that use adaptive (increasing/decreasing by a given increment) stop-signal delays
mean_adaptiveSSD(df, rt_col, ssd_col, stop_col)
Dataframe with response time, accuracy, indication whether trial is stop or go, and delays for a given trial.
Name of the column in the dataframe df that contains response time in seconds
df
Name of the column in the dataframe df that contains stop-signal delays
Name of the column in the dataframe df that indicates whether a given trial is a "stop" or a "go" trial ( 0 = go, 1 = stop)
Spline-interpolated stop-signal reaction time corresponding roughly to 50
# NOT RUN { data(adaptive) sapply(split(adaptive, adaptive$new_id), mean_adaptiveSSD, stop_col = 'vol', ssd_col = 'soa', rt_col = 'RT_exp') # }
Run the code above in your browser using DataLab