igraph_to_edgelist {clustAnalytics}R Documentation

Returns edgelist with weights from a weighted igraph graph

Description

This function is just used internally for testing the package

Usage

igraph_to_edgelist(g, sort = TRUE)

Arguments

g

igraph graph with weighted edges

sort

sorts the edge list lexicographically before returning

Value

A matrix where the first two columns indicate the incident vertices, and the third is the weight of the corresponding edge.


[Package clustAnalytics version 0.5.5 Index]