# Low pass filter ERP data (sampled at 250 Hz) with a cutoff frequency of 8 Hz
filtered <- erp.filter(ERPdata, freq = 0.032, ftype = "low", order = 4)
grandaverage(filtered, "V78", window = c(1000, 1500))
Run the code above in your browser using DataLab