nodeofactordistinct-ergmTerm {ergm} | R Documentation |
Number of distinct out-neighbor types
Description
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.
Usage
# binary: nodeofactordistinct(attr, levels=TRUE)
Arguments
attr |
a vertex attribute specification (see Specifying Vertex attributes and Levels ( |
levels |
this optional argument controls which levels of the attribute
attributes and Levels ( |
Details
This is a network analogue of the statistic introduced by Hoffman et al. (2023).
References
Hoffman M, Block P, Snijders TAB (2023). “Modeling Partitions of Individuals.” Sociological Methodology, 53(1), 1–41. ISSN 1467-9531, doi:10.1177/00811750221145166.
See Also
ergmTerm
for index of model terms currently visible to the package.
Keywords
categorical nodal attribute, directed, binary
[Package ergm version 4.9.0 Index]