update_pp_f1 but I exclusively use the EM (instead of also Brent's method),
and I allow for priors on the mixing proportions.Same as update_pp_f1 but I exclusively use the EM (instead of also Brent's method),
and I allow for priors on the mixing proportions.
update_dr(weight_vec, model = c("f1pp", "f1ppdr"), control)colSums(wik_mat) from flexdog.
This is the sum of current posterior probabilities of each individual
having genotype k.
The model to assume.
A list of anything else needed to be passed.
E.g. if model = "ash",
then inner_weights needs to be passed through control
(see get_inner_weights for how to get this matrix).
A list with the following elements:
p1_pair_weightsA list with the mixing weights for the bivalent components of parent 1.
p2_pair_weightsA list with the mixing weights for the bivalent components of parent 2.
objThe maximized objective.
p1genoThe estimated genotype for parent 1.
p2genoThe estimated genotype for parent 2.
pivecThe estimated genotype distribution for the offspring.