density_index: Fuzzy Cognitive Map density - density_index()

View source: R/IndexFunctions.R

density_indexR Documentation

Fuzzy Cognitive Map density – density_index()

Description

Function used to calculate the density of edges of the calculated digraph of the impgrid

Usage

density_index(imp)

Arguments

imp

Subject's ImpGrid. It must be an S4 object imported by the importimp function.

Value

Returns a value from 0 to 1 representing the ratio of the number of edges in the graph over the maximum number of possible edges.


GICUNED/GridFCM documentation built on Feb. 23, 2023, 9:03 a.m.