FlexMix: A General Framework for Finite Mixture Models and Latent Class Regression inR | Synapse