tauUpdate function

Update τ\tau

Update τ\tau

One update of τ\tau by the fixed point equation

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 0 otherwise)