minTriadicClosure {MinTriadic} | R Documentation |
minTriadicClosure
Description
A smoothed triadic‐closure statistic for LOLOG models.
Usage
minTriadicClosure(triadDegree, smoothing_k = 1)
Arguments
triadDegree |
Integer threshold for triangle count. |
smoothing_k |
Numeric smoothing parameter. |
Details
Returns a registered LOLOG change statistic that smoothly counts how many nodes are in at least 'triadDegree' triangles, using a smoothing parameter.
Value
A LOLOG change statistic object.
Examples
registerMinTriadicClosure() # call once to register the C++ class
stat <- minTriadicClosure(2, 1.5)
print(stat)
[Package MinTriadic version 1.0.0 Index]