R library for EEG data analysis