Is there an example on how to work with generalized mixture models?

Yes I am.