Displaying 2 results from an estimated 2 matches for "g11_gz".
Did you mean:
g1_gz
2011 May 17
1
R crashes if "toFile" given "~/" in Linux envirnonment
...). Also, not
shown, but 'setwd("~/Desktop")' works just fine. Thanks, Mark
# sample code from Rgraphviz clusterData help page
library(graph)
library(Rgraphviz)
g1_gz <- gzfile(system.file("GXL/graphExample-01.gxl.gz",package="graph"),
open="rb")
g11_gz <- gzfile(system.file("GXL/graphExample-11.gxl.gz",package="graph"),
open="rb")
g1 <- fromGXL(g1_gz)
g11 <- fromGXL(g11_gz)
g1_11 <- join(g1, g11)
sgl <- vector(mode="list", length=2)
sgl[[1]] <- list(graph=g1, cluster=TRUE)
sgl[[2]] <- l...
2011 May 17
0
auto clustering with Rgraphviz: possible?
...sters. Is there a way
to programatically identify these clusters and use this identificaiton to
create either subgraphs or clusters?
#For example
library(graph)
library(Rgraphviz)
g1_gz <- gzfile(system.file("GXL/graphExample-01.gxl.gz",package="graph"),
open="rb")
g11_gz <- gzfile(system.file("GXL/graphExample-11.gxl.gz",package="graph"),
open="rb")
g1 <- fromGXL(g1_gz)
g11 <- fromGXL(g11_gz)
g1_11 <- join(g1, g11)
plot(g1_g11)
# yields 2 obvious clusters plus 8 nodes with no edges. What I would like to
be able to do is aut...