varpar_fun | R Documentation |
This function use the newton update realted function and perform update on the variational parameters in one iteration.
varpar_fun(W, m, V, mu, iSig, K, z)
W |
observation data: the count data, n*(K+1) matrix where K is the number of taxa. |
m |
variational parameter m from last iteration. |
V |
variational parameter Vfrom last iteration. |
mu |
mean parameter for the latent Gaussian variable, list of g vectors of (K+1). |
iSig |
(generalized) inverse variance parameter for the latent Gaussian variable, list of g (K+1)*(K+1) matrices. |
K |
number of taxa. |
z |
class membership matrix at the current iteration. |
varpar_fun()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.