update_emat_with_F_doubletree | R Documentation |
pL1
leaves in tree1NB: does this work for the case where missing tree1 label can be in multiple domains, and missing/non-missing can happen at the same time for any domain?
update_emat_with_F_doubletree(curr_F, rmat, digamma_emat, v2_lookup)
curr_F |
F from |
rmat |
matrix (N by K); row sums are one - the class probabilities for each observation. |
digamma_emat |
matrix(pL1 by pL2) |
v2_lookup |
|
This function updates the N by pL1 matrix emat
in the package
N by pL1 variational multinomial probabilities for
the posterior distribution of N people's membership in the pL1 leaves in tree1;
row sums are 1s. F
is to prepare for rmat
updates. For subjects with
observed leaf label in tree1, the corresponding rows of res
should be further modified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.