Learn R Programming

ergmclust (version 1.0.0)

ELBO_conv_HMM_stat_dir_K1: C++ function for updating the ELBO convergence function in a static binary directed network.

Description

The C++ function ELBO_conv_HMM_stat_undir() updates the ELBO convergence function when the number of cluster is equal to 1 in a static binary directed network.

Usage

ELBO_conv_HMM_stat_dir_K1(theta, network, N)

Arguments

theta

Vector of current theta (network canonical parameters) values.

network

Array of a network adjacency matrices.

N

Number of nodes.

Value

Returns the value of ELBO for calculating relative error from the previous iterate that is subsequently used in the stopping criteria of the algorithm.