plotInhFunc {SSRTcalc} | R Documentation |
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 |
ssd_col |
Name of the column in the dataframe |
acc_col |
Name of the column in the dataframe |
Value
Line plot of the inhibition function.
Examples
data(fixed)
df <- subset(fixed, new_id == 3)
plotInhFunc(df = df, stop_col='vol', ssd_col='soa', acc_col='acc')
[Package SSRTcalc version 0.3.3 Index]