ergm icon indicating copy to clipboard operation
ergm copied to clipboard

b1starmix(k, attr, base=NULL, diff=TRUE) and b2starmix(k, attr, base=NULL, diff=TRUE) terms are misnamed?

Open krivit opened this issue 2 years ago • 2 comments

They count the number of k-stars with focus node in the specified mode (b1 or b2) for which the alter nodes are homophilous according to attr.

This suggests that they should really be named b*starmatch after nodematch.

Any thoughts?

krivit avatar Jun 09 '22 04:06 krivit

On further reading, it does incorporate the focus node's attribute, in which case the name is still confusing but makes more sense.

krivit avatar Jun 09 '22 05:06 krivit

In that case, perhaps it should be more like the full nodemix and mm, with b1attr, b2attr, b1levels, b2levels, b2levels2, and levels3 arguments to specify which combinations of levels should be included.

krivit avatar Jun 09 '22 05:06 krivit