r-segmented 1.2-0 Regression models with breakpoints estimation

Given a regression model, segmented updates the model by adding one or more segmented (i.e., piecewise-linear) relationships. Several variables with multiple breakpoints are allowed.