Displaying 20 results from an estimated 200 matches similar to: "Graph in R with edge weights"
2006 Jul 06
1
Rgraphviz: How to control the colours of edges in a graph
Using Rgraphviz, I draw the undirected graph with vertices A,B,C and D and edges A:B, B:C, C:D, D:A, A:C. I want the vertices A and B to be red and C and D to be blue. The problem is the following: I want the edges A:B and B:C to be green and the edges C:D and C:A to be yellow, while the edge A:C can have the default colour black. I assume that I have to specify this using the edgeAttrs-argument
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 Nov 17
1
Working with "necessary" columns in R (CSV)
Hi all. It will be great if some one will help me to solve my home task. So,
the deal : i have .pcap file, i convert it to csv using tcpdump (tcpdump -tt
-n -r x.pcap > x.csv)
CSV file looks like that :
12890084,761659 IP 10.10.20.20.47808 > 10.10.20.255.47808: UDP, length 12
12890084,761659 IP 10.10.20.20.47808 > 10.10.20.255.47808: TCP, length 12
12890084,761659 IP 10.10.20.20.47808
2006 Jul 06
1
Rgraphviz: Setting the edge width
I create an undirected graph with Rgraphviz (see code below). I would like to make the edges thicker. Can anyone help on this??
Regards
S?ren
V <- c("A","B","C","D")
E <- list(c("A","B"),c("B","C"),c("C","D"),c("D","A"),c("A","C"))
Eidx
2009 Dec 04
0
Network Graph Add Labels
Hi Everyone,
I am new to R and just trying my hand at plotting a network from my dataset. I am trying to teach myself network analysis, so this is probably an easy question.
Using the package network, I have successfully plotted my network. I simply want to add labels to my vertices, with the label corresponding to the data I fed into the edgelist. For simplicity sake, my edgelist looks like
2011 Feb 13
1
RCytoscape setPosition error
Hi
Can some one please point out where i am wrong.
I am trying to position set of nodes column-wise in cytoscape using
RCytoscape
A----D
B----E
C----F
-------------------
g <- new ('graphNEL', edgemode='undirected')
cw <- CytoscapeWindow ('smallExample', graph=RCytoscape::makeSimpleGraph())
layout (cw, 'jgraph-spring')
redraw(cw)
nodesFr = c('A',
2009 Jun 24
0
Matrix vignette error in June 24 RC
I am getting the following problem with make check-all on the June 24
rc. I realize I could probably fix it by installing/setting a path to
the sty file, but I don't remember having to do that for make check-all
in the past.
Paul Gilbert
___________
....
checking package 'Matrix'
* checking for working pdflatex ... OK
* using log directory
2011 Apr 19
1
self-referential representations in S4
I'm trying to do the following:
> setClass("MyNode", representation(parent = "MyNode"))
[1] "MyNode"
Warning message:
undefined slot classes in definition of "MyNode": parent(class "MyNode")
I scanned the docs, but found nothing. The representation function has no
problem, it's the setClass function which gives the warning.
What
2007 Apr 13
2
puppet reporting an older version installation
Hello all,
I have puppet rpm on internal repository for updating it to servers that
don''t have it on their normal repos (Centos, Fedora Core 4 or older...)
Then I have this to ensure that puppet is at latest version:
package { "puppet":
ensure => latest,
provider => yum,
}
I added puppet 0.22.3 to my internal repository and all servers updated
to that version,
2016 Jul 13
2
Host not reachable over UDP
Dear all,
I have been successfully running for quite some time a tinc 1.1 network in
switch mode. I recently added a new node, that refuses to communicate over
UDP.
Running "tinc info mynode" from a different box returns:
Reachability: directly with TCP
It appears that tincd is not listening on UDP port 655 on "mynode". Running
"ss -nlptu | grep tincd":
tcp
2011 Oct 17
2
[LLVMdev] Variable name from metadata
Hi All,
Can we extract name of variable name from "MDNode" ?
1. Neither temp_MDNode->getName() nor temp_MDNode->getValueName() give me "global_int" which is name of a variable.
2. I tried below ways as well.
DIVariable DV(mdnode1);
Value *v = mdnode1->getOperand(0);//gives add 0x69
3. I have written below code to reach till variable name.
LLVMIname is
2016 Jul 13
2
Host not reachable over UDP
Have anything to do with firewall locations, meaning home vs work vs public
vs lockdown. Probably not it at all.
On Jul 13, 2016 3:22 PM, "Etienne Dechamps" <etienne at edechamps.fr> wrote:
> That's strange. Can you post a detailed log from the affected node (run
> tincd -d5 -D), especially the initialization phase?
>
> On 13 July 2016 at 16:17, Petr Man <petr
2013 Aug 12
2
Error while starting the node on ESXi hypervisor
Hi,
Today I was trying to start a node using libvirt on ESX (esxi-5.1)
hypervisor and I got the following error message:
*virsh # define /local/myNode/esxdomain.xml*
*Domain testNode defined from /local/myNode/esxdomain.xml*
*virsh # start testNode*
*error: Failed to start domain testNode*
*error: internal error: Could not start domain: GenericVmConfigFault -
Cannot open the disk
2011 Oct 17
0
[LLVMdev] Variable name from metadata
Closing this, found below links to get variable name.
http://groups.google.com/group/llvm-dev/browse_thread/thread/1a239f0d24db2b5c
http://markmail.org/message/fj5qg44vyjsdde7k#query:+page:1+mid:5zhmyncisenomcga+state:results
I could do following, to get the required information.
const CallInst *CI = dyn_cast<CallInst>(Insn);
int numoperands =
2016 Jul 14
2
Host not reachable over UDP
You might want to try with https://github.com/gsliepen/tinc/pull/120 - that
said, this bug probably doesn't explain everything because tinc is supposed
to log a message from setup_vpn_in_socket() anyway, but there's no such
message in your log. In addition, I really don't see any way the "Received
UDP packet from unknown source" message could be logged if the UDP socket
2006 Dec 11
3
request an object
Hello,
I use a type i just written that install apache basicaly it is httpd
and you provide the version (it is just a wrapper to the packets system)
. I wanted to tell another type, the vhosts one that i required that
this node defines the httpd type and that the vhosts type is allways
called AFTER the httpd type.
node ''mynode'' {
httpd{ version =>
2012 Jun 04
1
Plotting with Rgraphviz
Hi All,
After a lengthy battle just to get the package installed, I am not able to
actually use Rgraphviz to generate any plots. I tried just using the sample
code in the documentation
(http://www2.warwick.ac.uk/fac/sci/moac/people/students/peter_cock/r/rgraphviz/)
and I get the following:
*> > library(Rgraphviz)
> test.matrix<-matrix(rep(c(0,1,0,0), 9), ncol=6, nrow=6)
>
2013 Aug 13
1
Re: Error while starting the node on ESXi hypervisor
Thanks a ton for the reply Matthias.
I am little confused here. How to add volume on my esx server using virsh?
I did SCP and copied my vmdk image to [datastore1] testNode/cluster.vmdk
and also modified my xml file as you suggested. Now when I tried starting
the node it gave me an error message saying:
"error: Failed to start testNode
error: internal error: Could not start domain:
2012 Sep 06
1
puppet bug in File selector ?
I tried to conditionally run etckeeper at the end of a puppet run.
For that I defined the following class :
class os::etckeeper::commit {
$cmd = "$operatingsystem" ? {
''debian'' => ''/usr/sbin/etckeeper'',
default => ''/usr/bin/etckeeper'',
}
exec {"etckeeper commit":
command =>