| distGraph-class {graph} | R Documentation |
A class definition for graphs that are based on distances.
Objects can be created by calls of the form new("distGraph", ...).
Dist:"dist" that forms the
basis for the edge weights used in the distGraph.
Class "graph", directly.
signature(object = "distGraph"): a print methodsignature(object = "distGraph"): return the dist
object. signature(object = "distGraph"): find the nodes
adjacent to the supplied node. signature(object = "distGraph"): return the
nodes in the graph. signature(object = "distGraph"): return the
number of nodes. signature(object = "distGraph"): remove all
distances that are larger than the supplied threshold. R. Gentleman
Shamir's paper and Butte et al
graph-class, clusterGraph-class
set.seed(123)
x <- rnorm(26)
names(x) <- letters
library(stats)
d1 <- dist(x)
g1 <- new("distGraph", Dist=d1)