graphIndexComplexity: Graph index complexity measure

Description Usage Arguments Details Value Author(s) References Examples

View source: R/graphIndexComplexity.R

Description

This method calculates the graph index complexity measure.

Usage

1

Arguments

g

a graph as a graphNEL object.

Details

This method calculates the graph index complexity measure.

Value

It returns the graph index complexity measure as a double-precision floating point value.

Author(s)

Lavanya Sivakumar, Michael Schutte

References

J. Kim and T. Wilhelm. What is a complex graph? Physica A, 387:2637-2652, 2008

Examples

1
2
3
4
5
library(graph)
set.seed(123)
g <- randomEGraph(as.character(1:10), 0.6)

graphIndexComplexity(g)

Example output

Loading required package: graph
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, basename, cbind, colMeans, colSums, colnames,
    dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
    intersect, is.unsorted, lapply, lengths, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
    rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which, which.max, which.min

Loading required package: RBGL
Loading required package: combinat

Attaching package: 'combinat'

The following object is masked from 'package:utils':

    combn


Attaching package: 'QuACN'

The following object is masked from 'package:graph':

    adjacencyMatrix

[1] 0.9999801

QuACN documentation built on May 2, 2019, 5:46 p.m.