Description Usage Arguments Details Value
Updates a affiliation network stored in sparse format with new data of an ego-centric network
1 | .update_aff_mat(x, y, update_diag = FALSE, normalize = FALSE)
|
x |
the affiliation network to be updated; must be a |
y |
an integer vector containing the indices of groups to be updated |
update_diag |
boolean; if |
normalize |
boolean; if |
Given x
, the function takes new data on a set of affiliations connected to the same unit and updates the affiliation accordingly. If y
contains the indices 1,6,12
, for example, the affiliation network is updated by adding one count to the entries (1, 6), (6, 1), (1, 12), (12, 1), (6, 12), (12, 6)
.
returns the updated affiliation matrix x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.