| b1factordistinct-ergmTerm | R Documentation | 
This term adds a single network statistic to the model, counting, for each node, the number of distinct values of the attribute found among its neighbors.
# binary: b1factordistinct(attr, levels=TRUE)
attr | 
 a vertex attribute specification (see Specifying Vertex attributes and Levels (  | 
levels | 
 this optional argument controls which levels of the attribute
attributes and Levels (  | 
This is a network analogue of the statistic introduced by \insertCiteHoBl23m;textualergm.
ergmTerm for index of model terms currently visible to the package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.