[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] dendrogram
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] dendrogram |
Date: |
Wed, 17 Nov 2010 14:16:45 +0100 |
Prof Freeman,
there is no 'as.dendrogram' method defined for fastgreedy.community
results currently, but since the results are in the same form as for
walktrap.community, you can simply do
dend <- igraph:::as.dendrogram.igraph.walktrap(fc)
as a workaround.
Best Regards,
Gabor
On Tue, Nov 16, 2010 at 7:26 PM, Lin Freeman <address@hidden> wrote:
> Hi,
>
> What am I doing wrong here?
>
>> fc <- fastgreedy.community(G, modularity=TRUE)
>> dend <- as.dendrogram(fc, use.modularity=TRUE)
> Error in UseMethod("as.dendrogram") :
> no applicable method for 'as.dendrogram' applied to an object of class
> "list"
>>
>
>
> --
> Linton C. Freeman
> Institute for Mathematical Behavioral Sciences and
> Department of Sociology
> School of Social Sciences SSPA 2143
> University of California
> Irvine, CA 92697-5100
>
> Office: (949) 824-6698
> Home (CA): (949) 494-6139
> (FL): (941) 778-1074
> Secretary: (949) 824-3663
> FAX: (949) 824-3733
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
--
Gabor Csardi <address@hidden> UNIL DGM