tie_clust_partition: C++ function to acquire the y_ij for all pairs of clusters.

View source: R/RcppExports.R

tie_clust_partitionR Documentation

C++ function to acquire the y_ij for all pairs of clusters.

Description

The C++ function retrieves y_ij for all pairs of clusters in a weighted static binary undirected network.

Usage

tie_clust_partition(clust_est, adjmat, wtmat, N, K)

Arguments

clust_est

A vector of estimated cluster membership.

adjmat

Array of a network adjacency matrices.

wtmat

Array of a network weight matrices.

N

Number of nodes.

K

Number of clusters.

Value

Returns y_ij (0, 1) for all pairs of clusters


ergmclust documentation built on March 16, 2026, 5:06 p.m.