View source: R/MixBetaBinomialFitStep.R
MixBetaBinomialFitStep | R Documentation |
One step of fitting beta-binomial mixture distribution of AI in particular bin.
MixBetaBinomialFitStep(initials_old, coverage, observations)
initials_old |
Initials for EM step: initials = c(w1, alpha1, alpha2), weight of first component and alphas for both beta-binomial distributions in a mixture |
coverage |
A number, that represents the coverage bin |
observations |
A vector of "maternal counts" in the bin |
Re-fitted initials for next EM step.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.