craneBipartite | R Documentation |
Pertrubs the bipartite network with fixed node strength
craneBipartite(df, alpha = 0.1, beta = 0, getAdj = F, randomStart = F)
df |
Adjacency Matrix or Edge list |
alpha |
alpha paramter perturbs each edge weights |
beta |
beta parameter perturbs the strength of each node. Set this to 0 if you want nodes to have node strength identical to the orignal network. |
getAdj |
TRUE = this will return adjacency matrix instead of edge list |
randomStart |
FALSE = initialize the first row with completely random edge weights. |
edge list
## Not run:
# Using Edge list as input
elist=craneBipartite(nonAng)
elist=craneBipartite(nonAng,alpha=0.3)
# Using Edge list as input and Adjcency Matrix as output
adjMatrix=craneBipartite(nonAng,alpha=0.1,getAdj=T)
# Using Edge list as input and Adjcency Matrix as output
A=elistToAdjMat(nonAng)
elist=craneBipartite(A)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.