Displaying 20 results from an estimated 6000 matches similar to: "igraph: error when setting size and shape of vertices"
2011 Aug 10
1
igraph - designing graph plot by attributes
Hi,
I'm working on some social networks and I managed to create the graphs with labels and edges weight, but I would also like to change the size of the vertices according to the age of the persons in the network and the shape according to the gender. Now for the age, I have people with ages between 20 and 78, and I would like to have 4 categories (sizes): 20-35, 36-50, 50-65, >65. I have
2009 Dec 04
1
R igraph clusters component
Hi R-users,
I'm using igraph for an undirected graph.
i used clusters() igraph function to know the component size(subgraphs) as shown bellow:
c <-clusters(g)
# component sizes
size <- sort(c$csize, decreasing=TRUE)
cat("Top 20 cluster of the graph","\n")
for (i in 1:20)
{
cat(i," size:",size[i] ,"\n")
}
Can anyone help how to extract the
2010 Jul 14
2
send out put to file in R
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://test.net", "pajek")
compo <- decompose.graph(g,
2009 Apr 16
1
Igraph: family 'serif' not included in PostScript device
Does anybody know how to solve this error?
postscript(file= "file.ps", family = "Helvetica", font = "Helvetica")
plot.igraph(g, layout=layout.circle, vertex.label.font=2)
dev.off()
error in text.default(x, y, labels = labels, col = label.color, family
= label.family, :
family 'serif' not included in PostScript device
Regards Knut
2009 Apr 06
2
Bonpower Crashes Trying Sparse Matrix (Igraph)
Hello All,
I have been trying to do bonpow for a while now.Bonpow works for few graphs
and for few others it goes out of memory.
I did see reply to one of the posting Alph Centrality Crashed in Igraph
memory error.
The solution in the posting was to use sparse matrix. This is the link of
the message.
http://lists.gnu.org/archive/html/igraph-help/2008-04/msg00071.html
I was able to obtain
2008 Mar 05
4
vertex labels in igraph from adjacency matrix
I am getting some unexpected results from some functions of igraph and
it is possible that I am misinterpreting the vertex numbers. Eg., the
max betweenness measure seems to be from a vertex that is not connected
to a single other vertex. Below if my code snippet:
require(igraph)
my.graph <- graph.adjacency(adjmatrix = my.adj.matrix, mode=c("undirected"))
most.between.vert <-
2009 Apr 20
1
Matrix package,solve() errors and crashes
Hello All,
I am working on graph object using IGRAPH package wanted to do Bonacich
Power. This is my graph object.
The file 'Graph.RData' (4.2 MB) is available for download at
http://dropbox.unl.edu/uploads/20090424/cfe4fcb854bb17f2/Graph.RData
Graph size
Vertices: 20984
Edges: 326033
Directed: FALSE
No graph attributes.
Vertex attributes: name.
No edge attributes.
When I use
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
2011 May 05
1
Looping over graphs in igraph
Hi,
I'm trying to do some basic social network analysis with igraph in R, but
I'm new to R and haven't been able to find documentation on a couple basic
things:
I want to run igraph's community detection algorithms on a couple thousand
small graphs but don't know how to automate igraph looking at multiple
graphs described in a single csv file. My data look like something in
2009 Mar 06
2
Highly Connected Nodes in Igraph
Hello R Help Team,
I have created graph from weighted adjecency matrix .Is there a way I can
find highly connected nodes in Igraph like the Package RBGL does.
nathan
--
View this message in context: http://www.nabble.com/Highly-Connected-Nodes-in-Igraph-tp22377522p22377522.html
Sent from the R help mailing list archive at Nabble.com.
2011 Mar 14
2
proportional symbol map ggplot
Hello,
we want to plot a proportional symbol map with ggplot. Symbols' area should
have the same proportions as the scaled variable.
Hereby an example we found on
http://www.r-bloggers.com/bubble-chart-by-using-ggplot2/ . In this example
we see the proportions of the symbols' area are different from the
proportions of the scaled variable:
crime <-
2009 Aug 17
1
FYI conflict between statnet, igraph
Dear R users:
There appears to be a conflict between the statnet package and the
igraph package.
With igraph loaded into memory, the network() function of statnet
failed, returning the error to the effect that the matrix being
converted was "not a graph object." Removing igraph from memory restored
statnet to proper function.
Apologies if this is redundant. I could not find this
2008 Dec 26
2
question about SNA in R, thanks!
Dear colleagues,
I'm trying to have a look at the Assortative and Disassortative (
http://en.wikipedia.org/wiki/Assortative_mixing) of the network I have.
But it seems that the igraph hasn't mentioned that yet.
I have to get the in/out degree of the vertices of each edge and calculate
the Pearson's Correlation coefficient which seems to be quite a huge task
for me. :(
So I wonder if
2009 Sep 08
1
Point patterns and igraph
Hi,
I have a data set consisting of the x and y coordinate locations of 1600
points. I would like to generate a graph using the functions in igraph.
However the graph making functions in igraph requires the data to be in the
form of an adjacency matrix. I'd like some advice on how to convert my point
pattern to an adjacency matrix or functions out there that would do it
directly. I've
2009 Feb 26
1
layout of igraph
Dear R users,
I am trying to draw a network using igraph package. I intend to place the
hub nodes (the ones with the relatively more connection with other nodes) in
the center of the graph. Also, the graph need to be in the fashion that the
higher the correlation between two nodes is , the closer the two nodes will
be. Is there any layout that can help or any other way to do this?
Thanks in
2009 Mar 03
1
save the layout using igraph
Hi R users,
I am using built-in functions in igraph package to draw networks . I need
to compare several network with exactly the same structure but with edge
hightlighted differently. I am wondering if there is a way to save the
layout so that every graph will look the same as each other except for the
colors of edges. Or is there any parameter I can set for this purpose??
Thanks in advance,
2009 May 15
1
Matrix package,solve() errors and crashes Please help
>
> Hello All,
>
Please help me with this problem.I have been having this problem for over a
month now and I could not find any information.I later realised that error
is with MATRIX package.
I am working on graph object using IGRAPH version 0.5.2-2 package & wanted
to do Bonacich Power.
What I have is undirected GRAPH.
This is my graph object.
The file 'Bonacich
2008 Nov 14
1
igraph and tkgraph
I have a number of (directed) graphs based on social groups, where the
members have expresed likes and dislikes in respect to the other
members. tkgraph makes it simple to draw the graphs in a very pleasing
way, but I would like to differentiate between positive and negative
relations in the graph by having the edges for the negative relations
dashed and the positive ones continuous.
Is
2010 Sep 27
1
Modify the vertex label
Dear r-help,
I create a graph of my baysian network. I use the package igraph. The names
of vertex are within the circle, I would leave them outside the circle?
> E(g)$color <- "black"
> tkplot(g, ,vertex.label=names,layout=layout.kamada.kawai,
edge.color=E(g)$color)
Best Regards
[[alternative HTML version deleted]]
2009 Apr 18
0
igraph 0.5.2
igraph is a package for graphs/networks. It has a C core and
uses a simple and fast graph representation allowing millions
of vertices and edges.
LINKS
Release notes for the 0.5.2 version:
http://igraph.sourceforge.net/relnotes-0.5.2.html
Release notes for the 0.5.1 version:
http://igraph.sourceforge.net/relnotes-0.5.1.html
Complete list of changes:
http://igraph.sourceforge.net/news.html
The