powered by
Resamples trials with replacement n_iter times and applies the chosen SSRT estimation function to each resample.
n_iter
ssrt_boot( data, ssrt_fn = "integration_adaptiveSSD", n_iter = 2000, conf = 0.95, stop_col = "vol", rt_col = "RT_exp", acc_col = "correct", ssd_col = "soa", seed = 42, parallel = FALSE, n_cores = 2 )
Object of class ssrt_boot.
ssrt_boot
data.frame in SSRTcalc long format.
SSRT function name. Default "integration_adaptiveSSD".
"integration_adaptiveSSD"
Bootstrap resamples. Default 2000.
Confidence level. Default 0.95.
Column names.
Random seed. Default 42.
Use parallel::mclapply? (Unix/macOS only). Default FALSE.
Cores when parallel=TRUE. Default 2.
data(adaptive) d <- adaptive[adaptive$SubjID == 1, ] b <- ssrt_boot(d, n_iter = 500) print(b)
Run the code above in your browser using DataLab