grad_HMM_stat_undir_K1: C++ function for updating the gradient function in a static...

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

The C++ function grad_HMM_stat_undir() updates the gradient function when the number of cluster is 1 in a static binary undirected network.

Usage

1
grad_HMM_stat_undir_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 gradient vector of ELBO with respect to theta parameters for Newton-Raphson update in the M-step.

Author(s)

Authors: Amal Agarwal, Lingzhou Xue

Maintainer: Yinqi Zhang <ybz5148@psu.edu>


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