# NOT RUN {
discords = find_discords_rra(ecg0606, 100, 4, 4, "none", 0.01, 1)
plot(ecg0606, type = "l", col = "cornflowerblue", main = "ECG 0606")
lines(x=c(discords[1,2]:(discords[1,2]+100)),
y=ecg0606[discords[1,2]:(discords[1,2]+100)], col="red")
# }
Run the code above in your browser using DataLab