dot-update_aff_list: Update sparse affiliation network with new data in list...

Description Usage Arguments Value

Description

Updates a affiliation network stored in sparse format with new data of a list of ego-centric network data

Usage

1
.update_aff_list(x, y, update_diag = FALSE, normalize = FALSE, verbose = FALSE)

Arguments

x

the affiliation network to be updated; must be a sparseMatrix of the Matrix package

y

a Rcpp::List object consisting of integer vectors with indices of groups to be updated

update_diag

boolean; if true updates the diagonal elements

normalize

boolean; if true contribution of each ego to the elements in the affiliation are weighted by the inverse of ties ego holds

verbose

boolean; if true shows progress text

Value

returns the updated affiliation matrix x.


baruuum/btoolbox documentation built on Aug. 17, 2020, 1:29 a.m.