Clusterwise Regression function for R
This is R code I have written to implement the clusterwise regression algorithm. The data set I use in the example is from seattle.data.gov last updated on September 29, 2016.
This data contains the average hourly wages for women and men sorted by job classification. This data set is intended for public access and use.
https://catalog.data.gov/dataset/city-of-seattle-wages-comparison-by-gender-average-hourly-wage-by-age-353b2