A R software tool for ECG analysis