View source: R/followingNetwork.R
getADJNetDen | R Documentation |
getADJNetDen is a support function for calculating a network density of a network.
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.
# 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.