Along with the example I gave using graphAM, you might also want to
look at the help page for the distGraph class which may be more
directly what you want:

  library("graph")
  class ? distGraph

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to