gscaLCR function

The 2nd and 3rd step of gscaLCA, which are the partitioning and fitting regression