|
Algorithm 1 Percentage of missing data for each HRV window |
-
1:
for each RR[i] in the window (i from 1 to length of HRV window) do
-
2:
Compute
-
3:
if 1.3 s then
-
4:
Compute mean RR over last 10 values ()
-
5:
Compute N, the number of missing RR in the gap: )
-
6:
end if
-
7:
Compute , the total number of missing RR in the window
-
8:
Compute percentage of missing data:
-
9:
end for
is the RR value at position i, and its timestamp
|