gamma_update_HMM_stat_undir: C++ function for updating the variable 'gamma' (variational...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

The C++ function gamma_update_HMM_stat_undir() updates the value of variable gamma (variational parameters) in a static binary undirected network.

Usage

1
gamma_update_HMM_stat_undir(gamma, pi, theta, network, N, K)

Arguments

gamma

Vector of current gamma (variational parameters) values.

pi

Vector of current pi (mixture proportions) values.

theta

Vector of current theta (network canonical parameters) values.

network

Array of a network adjacency matrices.

N

Number of nodes.

K

Number of clusters.

Value

Returns all quadratic and linear term coefficients for the quadratic programs corresponding to all nodes.


ergmclust documentation built on Feb. 1, 2021, 9:07 a.m.