Description Usage Arguments Value Examples
View source: R/followingNetwork.R
getADJNetDen is a support function for calculating a network density of a network.
1 | getADJNetDen(adjMat)
|
adjMat |
is an adjacency matrix of a dominant-distribution network. |
This function returns a value of network density of of a network for a given adjMat.
1 2 3 4 5 6 7 8 | # Given an example of adjacency matrix
A<-matrix(FALSE,5,5)
A[2,1]<-TRUE
A[c(3,4),2]<-TRUE
# Get a network density of an adjacency matrix
getADJNetDen(adjMat=A)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.