newton_up_m: A function for newton update of m This function performs...

View source: R/newton_up_m.R

newton_up_mR Documentation

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

Description

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

Usage

newton_up_m(xold, W_i, iSig, mu, vsquare, M, xi, K)

Arguments

xold

kth element of m, value from last iteration.

W_i

ith observation.

iSig

(generalized) inverse matrices variance parameter for the latent Gaussian variable.

mu

mean parameter for the latent Gaussian variable.

vsquare

diagonal elements of the variational parameter V.

M

sum of counts in K taxa for one observation.

xi

variational parameter xi, vector of n.

K

number of taxa.

Examples

newton_up_m()

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