Description Usage Arguments Value Author(s) References Examples
View source: R/hyperDistancePathIndex.R
This method calculates the Hyper Distance Path Index.
1 | hyperDistancePathIndex(g, dist = NULL, wien = NULL)
|
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. |
This method returns the Hyper Distance Path Index.
Laurin Mueller <laurin@eigenlab.net>
R. Todeschini, V. Consonni, and R. Mannhold, Handbook of Molecular Descriptors. Weinheim, Germany. Wiley-VCH, 2002.
1 2 3 4 5 | library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)
degreeDistribution(g)
|
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’:
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: ‘combinat’
The following object is masked from ‘package:utils’:
combn
Attaching package: ‘QuACN’
The following object is masked from ‘package:graph’:
adjacencyMatrix
deg
3 4 5 7
2 2 2 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.