[Top][All Lists]

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

Re: [igraph] Questions about walktrap.community

From: Wang, Jing
Subject: Re: [igraph] Questions about walktrap.community
Date: Fri, 28 Oct 2011 17:19:56 -0500
User-agent: Microsoft-MacOutlook/

Dear Gabor,

        I can transform the walktrap data to dendrogram using as.dendrogram, but
when I transform the dendrogram to hclust type (because some functions
need hclust type, so I must get the hclust data), I always get the
following error:

        Error: all(vapply(s, is.integer, NA)) is not TRUE

So, would you please give me some suggestion how to address this error?
Thank you very much for you help!


On 10/28/11 3:36 PM, "Gábor Csárdi" <address@hidden> wrote:

>On Fri, Oct 28, 2011 at 6:53 AM, Tamas Nepusz <address@hidden> wrote:
>>> I have two questions about walktrap.community. The first question is
>>> there is a method to change the result of walktrap.community to a
>>> class.
>> I'm not an expert in the R interface so I cannot answer this question
>>-- but
>> maybe someone else on this list can.
>You can convert it to a 'dendogram' object, which you can simply plot
>via 'plot()'. Just call 'as.dendrogram()' on it.
>Gabor Csardi <address@hidden>     MTA KFKI RMKI
>igraph-help mailing list

reply via email to

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