Internal function.

1 |

`tau` |
An N x G matrix of conditional cluster membership probabilities. |

`N` |
Number of observations. |

`Elz` |
A N x D x G array of expected values of cluster labels multiplied by the latent data. |

`J` |
The number of variables. |

`OrdIndx` |
The number of continuous and ordinal (including binary) variables. |

`D` |
Dimension of the latent data. |

`G` |
The number of mixture components. |

`Y` |
A N x J data matrix. |

`CnsIndx` |
The number of continuous variables. |

`S2` |
A N x D x G array of expected values of the latent data squared. |

`model` |
Which clustMD model is fitted. |

`a` |
A G x D matrix of the entries of A. |

M-step: an internal function.

Output required for clustMD function.

An internal function.

Damien McParland

McParland, D. and Gormley, I.C. (2014). Model based clustering for mixed data: clustMD. Technical report, University College Dublin.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.