| sociality-ergmTerm {ergm} | R Documentation |
Undirected degree
Description
This term adds one network statistic for each node equal to the number of
ties of that node. For directed networks, see sender and
receiver .
Usage
# binary: sociality(attr=NULL, base=1, levels=NULL, nodes=-1)
# valued: sociality(attr=NULL, base=1, levels=NULL, nodes=-1, form="sum")
Arguments
attr, levels |
this optional argument is deprecated and will be replaced with a more elegant implementation in a future release. In the meantime, it specifies a categorical vertex attribute (see Specifying Vertex attributes and Levels ( |
base |
deprecated |
nodes |
By default, |
form |
character how to aggregate tie values in a valued ERGM |
Note
The argument base is retained for backwards compatibility and may be
removed in a future version. When both base and levels are passed,
levels overrides base.
The argument base is retained for backwards compatibility and may be
removed in a future version. When both base and nodes are passed,
nodes overrides base.
This term can only be used with undirected networks.
See Also
ergmTerm for index of model terms currently visible to the package.
Keywords
categorical nodal attribute, dyad-independent, undirected, binary, valued