newton_up_v: A function for newton update of V This function performs...

View source: R/newton_up_v.R

newton_up_vR Documentation

A function for newton update of V This function performs newton update of V within one iteration.

Description

A function for newton update of V This function performs newton update of V within one iteration.

Usage

newton_up_v(xold, iSig_kk, m_k, M, xi)

Arguments

xold

kth diagonal element of V, value from last iteration.

iSig_kk

k-th diagonal element of the (generalized) inverse variance parameter for the latent Gaussian variable.

m_k

kth element of variational parameter m.

M

sum of counts in K taxa for one observation.

xi

variational parameter xi, vector of n.

Examples

newton_up_v()

yuanfang90/LNMVGA documentation built on Jan. 29, 2024, 8:24 a.m.