adj2list: Converts an adjacency matrix into the adjacency list

Description Usage Arguments

Description

Converts an adjacency matrix into the adjacency list

Usage

1
adj2list(A, ac.type = c("Both", "Two", "One"))

Arguments

A

a symmetric unweighted adjacency matrix.

ac.type

indicates the anti clustering referral distribution types. Type "Two" is "refer friends based on the number of friends they have that you don't know", type "One" is "refer friends based on the number of friends you have that don't know them" and type "Both" means type "One" and "Two".


khabbazian/rdssim documentation built on May 20, 2019, 9:22 a.m.