This function identifies cliques of a specified size in a transition network.
It searches for cliques, i.e., complete subgraphs where every pair of nodes
is connected, of size n in the transition matrix for the specified cluster
in the tna object.
A tna_cliques object which is a list of two elements:
weights is a matrix of the edge weights in the clique.
inits is a numeric vector of initial weights for the clique.
If x is a group_tna object, a group_tna_cliques object is returned
instead, which is a list or tna_cliques objects.
Arguments
x
A tna or a group_tna object.
...
Ignored.
size
An integer specifying the size of the cliques to identify.
Defaults to 2 (dyads).
threshold
A numeric value that sets the minimum edge weight
for an edge to be considered in the clique. Edges below this value
are ignored. Defaults to 0.
sum_weights
A logical value specifying whether the sum of the
weights should be above the threshold instead of individual weights of the
directed edges. Defaults to FALSE.