hyperDistancePathIndex: Hyper Distance Path Index

Description Usage Arguments Value Author(s) References Examples

View source: R/hyperDistancePathIndex.R

Description

This method calculates the Hyper Distance Path Index.

Usage

1

Arguments

g

a graph as a graphNEL object.

dist

the distance matrix of the graph. If the parameter is empty the distance matrix will be calculated within the function.

wien

the wiener index of g.

Value

This method returns the Hyper Distance Path Index.

Author(s)

Laurin Mueller <laurin@eigenlab.net>

References

R. Todeschini, V. Consonni, and R. Mannhold, Handbook of Molecular Descriptors. Weinheim, Germany. Wiley-VCH, 2002.

Examples

1
2
3
4
5
library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)

degreeDistribution(g)

Example output

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

Attaching package:BiocGenericsThe following objects are masked frompackage:parallel:

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

The following objects are masked frompackage:stats:

    IQR, mad, sd, var, xtabs

The following objects are masked frompackage:base:

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

Loading required package: RBGL
Loading required package: combinat

Attaching package:combinatThe following object is masked frompackage:utils:

    combn


Attaching package:QuACNThe following object is masked frompackage:graph:

    adjacencyMatrix

deg
3 4 5 7 
2 2 2 2 

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