getADJNetDen {mFLICA}R Documentation

getADJNetDen function

Description

getADJNetDen is a support function for calculating a network density of a network.

Usage

getADJNetDen(adjMat)

Arguments

adjMat

is an adjacency matrix of a dominant-distribution network.

Value

This function returns a value of network density of of a network for a given adjMat.

Examples


# 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)


[Package mFLICA version 0.1.6 Index]