ergm
ergm copied to clipboard
b1starmix(k, attr, base=NULL, diff=TRUE) and b2starmix(k, attr, base=NULL, diff=TRUE) terms are misnamed?
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?
On further reading, it does incorporate the focus node's attribute, in which case the name is still confusing but makes more sense.
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.