R/reconstitution.R
reconstitution.Rd
This function reformat the outputs of multinomial mixture distributions parameters.
reconstitution(x, s, n, nbmel)
x | vector with cell probabilities estimates for mixtures and bases, along with mixture probilities |
---|---|
s | number of bases |
n | number of cell probabilities |
nbmel | number of mixtures |
This function returns a list of maximum likelihood estimates for the cells of a mixture distribution with:
P matrix of cell probabilities estimates for mixtures
PI matrix of mixture probabilities
GAM matrix of cell probabilities estimates for bases
Olivier Gimenez <olivier.gimenez@cefe.cnrs.fr>, Roger Pradel, Rémi Choquet