We are carrying out practice on ECG signal and want to predict the next heart cycle using different forecast methods in R. However we couldn't get a prediction using ARIMA forecasting, as can be seen in the image below.
We are using auto.arima function to make fit, then run checkresiduals(fit) and then apply forecast function with an arbitrary h.
Do you have any suggestions to do the above task in R?