tierecip | R Documentation |
Calculate proportion of reciprocal ties out of total ties for each node from an edgelist.
tierecip(el, type = "all")
el |
Edgelist with "from" and "to" columns |
type |
Character string; either "all" (default; calculates node-level reciprocity using all nodes and ties in edgelist) or "complete" (calculates reciprocity only based on nominees who had the potential to reciprocate because they completed the network survey–this assumes that all individuals who completed the survey and no individuals who did not are listed in the 'from' column) |
Base calculations either on all nodes and ties in edgelist or only on those who had the opportunity to nominate ties (e.g., completed the network survey). Self-loops (individuals nominating themselves) are not included. Individuals who nominated 0 ties or just themselves have a reciprocity of NaN.
A dataframe containing node IDs and tie reciprocity proportions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.