Change Point Analysis In R