getADJNetDen: getADJNetDen function

Description Usage Arguments Value Examples

View source: R/followingNetwork.R

Description

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

Usage

1
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

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)

mFLICA documentation built on Jan. 24, 2022, 5:09 p.m.