powered by
A smoothed triadic‐closure statistic for LOLOG models.
minTriadicClosure(triadDegree, smoothing_k = 1)
A LOLOG change statistic object.
Integer threshold for triangle count.
Numeric smoothing parameter.
Returns a registered LOLOG change statistic that smoothly counts how many nodes are in at least `triadDegree` triangles, using a smoothing parameter.
registerMinTriadicClosure() # call once to register the C++ class stat <- minTriadicClosure(2, 1.5) print(stat)
Run the code above in your browser using DataLab