simcausal network ID matrix (
NetInd_k) into a network represented by a sparse adjacency matrix.
Matrix of network IDs of dimension
Integer vector of length
Network represented as a sparse adjacency matrix (S4 class object
dgCMatrix from package
NOTE: The friend IDs for observation
i will be listed in column
which(sparseAdjMat[,i]) are friends of
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.