powered by
Sweeps three violation types: go/stop process correlation, trigger failure rate, and go-RT shift on stop trials.
ssrt_robustness( data, violation = "all", n_iter = 500, corr_range = seq(0, 0.8, by = 0.1), trigger_range = seq(0, 0.4, by = 0.05), shift_range = seq(0, 100, by = 10), stop_col = "vol", rt_col = "RT_exp", acc_col = "correct", ssd_col = "soa", seed = 42 )
Object of class ssrt_robustness.
ssrt_robustness
data.frame for calibration.
"all", "correlation", "trigger_failure", or "go_shift".
MC iterations per condition. Default 500.
Correlations to test.
Trigger failure rates to test.
Go-RT shifts in ms to test.
Column names.
Random seed. Default 42.
data(adaptive) d <- adaptive[adaptive$SubjID == 1, ] r <- ssrt_robustness(d, violation="trigger_failure", n_iter=20, trigger_range=seq(0, 0.2, 0.1)) print(r)
Run the code above in your browser using DataLab