Learn R Programming

ppsbm (version 1.0.0)

tauUpdate: Update \(\tau\)

Description

One update of \(\tau\) by the fixed point equation

Usage

tauUpdate(tau, pi, mstep, data, directed, sparse, method, rho)

Arguments

tau

Old \(\tau\)

pi

Estimator of group probabilities \(\pi\)

mstep

Results of the previous mstep for iterative computation

data

Data same of mainVEM

directed

Boolean for directed (TRUE) or undirected (FALSE) case

sparse

Boolean for sparse (TRUE) or not sparse (FALSE) case

method

List of string. Can be hist for histogram method or kernel for kernel method

rho

Old \(\rho\) (only for sparse model, set to 1 otherwise)