Predicting spontaneous termination of atrial fibrillation based on the RR interval