0

I want to load the MIT BIH ECG format samples in R but I am having a hard time. There is a MATLAB tool for this as I have found here Load MIT-BIH Arrhythmia ECG database onto MATLAB

Is there any way to get the sample ECG files to load in R?

Thanks

Community
  • 1
  • 1
ECII
  • 10,297
  • 18
  • 80
  • 121

1 Answers1

2

You can try these steps:

  1. Download Octave, which is a free open-source version of Matlab.

  2. In Octave, use the physiotool to load the ECG data.

  3. In Octave, save the data that you want to a .mat file with save.

  4. In R, use the R.Matlab package.

tashuhka
  • 5,028
  • 4
  • 45
  • 64
  • They also have a tool `wfdb2mat` that will convert the db to `mat` without having to install Octave, if that's an issue for you. (Disclaimer: I haven't tested it, I'm just reading the docs at [physionet](http://www.physionet.org/physiotools/matlab/).) – r2evans Apr 17 '14 at 18:39