Discriminant function analysis of RR intervals: An algorithm for on-line arrhythmia diagnosis