# NOT RUN {
# Make a serie with one breakpoint
x <- c(rnorm(60,1,1),rnorm(40,2,1))
# Look for break using SNHT, Buishand_R can be used in exactly the same way
break_prosition <- SNHT(serie = x)
plot(x)
abline(v = break_prosition$breaks)
# }
Run the code above in your browser using DataLab