[...]
> compo[[ which.max(sapply(compo, vcount)) ]]
That's better command for obtaining Largest Component
Sometimes, I get this error while reading pajek file. Does anybody know what
this error message means ?
g <- read.graph ("F://data/pfu_raw.net", "pajek")
Error in read.graph.pajek(file, ..
On Thu, Jul 15, 2010 at 6:38 PM, chakri_amateur wrote:
[...]
> I want to extract the largest connected component (alias sub-graph) of the
> network. My input network is a large network of >1000 vertices and >15000
> arcs. From this, I want to take out only the largest cluster.
>
>> If you decompos
Dear Gabor Csardi,
Thanks. The problem is now resolved.
> No wonder, writing computer programs is not just typing in random words
> and let the computer figure
> out what you are trying to do. At least not yet.
Apart from typo errors like "wri" before "write..." and "lecompose" instead
of "d
On Thu, Jul 15, 2010 at 7:24 AM, chakri_amateur wrote:
[...]
> wri write.graph ("F://new", "pajek") <- decompose.graph(g, mode="weak",
> max.comps=NA,
> min.vertices= 20)
>
>
> But even that doesn't work
No wonder, writing computer programs is not just typing in random
words and let the co
Dear Peter Ehlers,
Thanks.
In decompose help page of 'R' It's clearly mentioned that the output of
decompose command is a separate graph for each component .
It is true that, Variable in which I stored my output is not a graph object.
I tried the following command also - To directly save
On 2010-07-14 4:04, chakri_amateur wrote:
Hi
I am using igraph package in R.
My goal is to read a network (in "pajek" format) and decompose the network
into components.
In addition, I am also interested in sending this output to to a file.
I am having problem in while writing to a file!
my
Hi
I am using igraph package in R.
My goal is to read a network (in "pajek" format) and decompose the network
into components.
In addition, I am also interested in sending this output to to a file.
I am having problem in while writing to a file!
my code looks like this
g <- read.graph ("F://t
7 matches
Mail list logo