plotInhFunc: Plots and prints stop-signal delays and accuracies
Description
Plots and prints stop-signal delays and corresponding accuracies. For studies that use fixed (randomly chosen on each trial from a pre-determined set) stop-signal delays.
Usage
plotInhFunc(df, stop_col, ssd_col, acc_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 df that indicates whether a given trial is a "stop" or a "go" trial ( 0 = go, 1 = stop)
ssd_col
Name of the column in the dataframe df that contains stop-signal delays
acc_col
Name of the column in the dataframe df that contains accuracy of inhibition ( 0 = incorrect, 1 = correct)