igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Fastgreedy Algorithm for Community Detection in igraph for


From: Tamás Nepusz
Subject: Re: [igraph] Fastgreedy Algorithm for Community Detection in igraph for RStudio - fatal error.
Date: Wed, 28 Nov 2012 21:13:29 +0100

Hi,

> g_adjacency_undirected_weighted_connected <- 
> graph.adjacency(adjacency_matrix_undirected_unweighted_connected)
The graph you create here will be directed because graph.adjacency creates 
directed graphs by default. Add mode="undirected" to make the graph undirected. 
Other than that, your code works perfectly fine for me in the command line 
version of R.

Best,
Tamas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]