Displaying 6 results from an estimated 6 matches for "edgel".
Did you mean:
edge
2010 Dec 01
1
Graph in R with edge weights
...", "q", "r")
> myEdges = list(
s = list(edges = c("p", "q")),
p = list(edges = c("p", "q")),
q = list(edges = c("p", "r")),
r = list(edges = c("s")))
> g = new("graphNEL", nodes = myNodes,
edgeL = myEdges, edgemode =
"directed")
> plot(g)
but how about weights?
Thanx.
[[alternative HTML version deleted]]
2006 Jul 06
1
Rgraphviz: How to control the colours of edges in a graph
...t;list", length=length(V))
names(edL) <- V
for (i in 1:length(Eidx)){
tmp <- Eidx[[i]]
print(tmp)
edL[[tmp[1]]]$edges <- c(edL[[tmp[1]]]$edges, tmp[2])
edL[[tmp[2]]]$edges <- c(edL[[tmp[2]]]$edges, tmp[1])
}
G <- new("graphNEL", nodes=V, edgeL=edL)
nAttrs <- list()
nAttrs$fillcolor <- c("red","red","blue","blue")
names(nAttrs$fillcolor) <- V
plot(G, "neato",nodeAttrs=nAttrs)
2006 Jul 06
1
Rgraphviz: Setting the edge width
...t;list", length=length(V))
names(edL) <- V
for (i in 1:length(Eidx)){
tmp <- Eidx[[i]]
print(tmp)
edL[[tmp[1]]]$edges <- c(edL[[tmp[1]]]$edges, tmp[2])
edL[[tmp[2]]]$edges <- c(edL[[tmp[2]]]$edges, tmp[1])
}
G <- new("graphNEL", nodes=V, edgeL=edL)
nAttrs <- list()
nAttrs$fillcolor <- c("red","red","blue","blue")
names(nAttrs$fillcolor) <- V
eAttrs <- list(color = c("A~B" = "green", "B~C" = "green", "C~D" = "yellow"...
2010 Dec 10
3
help requested
HI friends,
I have very lengthy graph data in edge list format. I want to convert it
into node list format.
example:
EDGE LIST FORMAT
1 2
1 3
1 4
1 5
2 3
2 4
3 2
4 1
4 3
4 5
5 2
5 4
ITS NODE LIST FORMAT SHOULD BE LIKE:
1 2 3 4 5
2 3 4
3 2
4 1 3
5 2 4
Kindly suggest me which package in R provides the support to do my task.
Thank u friends in advance.
--
View this message in context:
2007 Oct 09
3
igraph and plotting connected components
Hello there,
I am using the igraph package to build graphs from my data. If I plot a graph though, it's not easy for me to see what's going on. Does anybody know how to rearrange a graph to get a plot without too many crossing lines? Maybe other packages?
Thanks a lot in advance for any pointers,
-- D
---------------------------------
[[alternative
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...;profaar at live.com>
Cc: r-help at r-project.org
Subject: Re: [R] help requested
Message-ID:
<AANLkTi=e+XhReMP8p+LaLG3Mibwjq_bzkhEBvGVAjRVN at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
awk '{arr[$1]=arr[$1] " " $2}END{for( i in arr){print i,arr[i]}}'
edgelist.txt | sort -k1
On Fri, Dec 10, 2010 at 4:20 PM, profaar <profaar at live.com> wrote:
> 1 2
> 1 3
> 1 4
> 1 5
> 2 3
> 2 4
> 3 2
> 4 1
> 4 3
> 4 ?5
> 5 2
> 5 4
------------------------------
Message: 40
Date: Fri, 10 Dec 2010 14:23:48 -0200
From: He...