reconstitution {R2ucare}R Documentation

Reformat outputs of multinomial mixture distributions parameters

Description

This function reformat the outputs of multinomial mixture distributions parameters.

Usage

reconstitution(x, s, n, nbmel)

Arguments

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

Value

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

Author(s)

Olivier Gimenez <olivier.gimenez@cefe.cnrs.fr>, Roger Pradel, RĂ©mi Choquet


[Package R2ucare version 1.0.2 Index]