I have a set of data for which I want to calculate the breakpoint so that I\'m able to segment the resultant graph of regression as two lines with different slopes as in the