EMG Analysis in R