Function to detect breakpoints in a data frame using a linear regression based approach.
Useful links