Displaying 20 results from an estimated 10000 matches similar to: "Network Graph Add Labels"
2009 Nov 27
6
Learning R - View datasets
Hi All,
I am making a serious effort to try to learn R, but one hurdle I am facing is that I need to "see" the data as I walk through the examples in the packages. For instance, many examples on the web start by a command like data("wines"). How can I actually view what the dataset looks like prior to transformations and analysis? I have tried to use edit() , print, and
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
2010 Dec 01
1
Graph in R with edge weights
Can you please show code example, how to draw graph with some nodes and
edges, but with weights. I only found here
http://www.bioconductor.org/packages/release/bioc/vignettes/Rgraphviz/inst/doc/Rgraphviz.pdf-
Using edge weights for labels, but...
Here an example:
> library("graph"); library(Rgraphviz)
> myNodes = c("s", "p", "q", "r")
>
2010 Apr 07
1
It This data viz possible in R?
Hi All,
I am new to R, but it has been a lot of fun learning as I go and have been blow away by what it can do. Came across this example and wanted to see if ggplot2 or some other visualization package could make this sort of graphic.
2009 Dec 01
1
Overlapping Plot Labels and Color Palette
Hi all,
I am new to R, but with the help I have received thus,I have already been able to work through a bunch of questions on my own in just a few days. I imagine my questions are relatively simple, but here she goes.
1) I am using a package where one of the objects generated represents X/Y coordinates for each observation. I have been able to plot my row names onto the graph using text()
2009 Jan 26
3
Tinn-R
Hi Everyone,
I was hoping someone could help me with the settings for Tinn-R. I see in the screen shots that it has syntax help, or something similar (tips on what functions, etc). I can not seem to get this to turn on in the program, and I am wondering if I have to set up a few options. I quickly read through the help and could not figure it out.
Many thanks!
- Brock
P.S. It appears as
2012 Apr 23
1
Add attributes to igraph vector by name, not index
Hi,
So I've been figuring out how to use igraph in R and like it for it's speed
and simplicity. Now I have a graph built from an edgelist where vectors have
a $name attribute. I have another dataframe with attributes tied to a
vector ID, which is the same as the $name attribute of vectors represented
in the graph.
How can I iterate over the graph by V(g)$name and do
2008 Mar 26
2
Latentnet Data Import
Hello everone,
I am a computer science researcher in the UK - and have a quick question regarding importing data into R and more specifically latentnet.
I am trying to import data such as a text file containing: (This is based on the Sampson data set)
-----------
Network attributes:
vertices = 3
directed = TRUE
hyper = FALSE
loops = FALSE
multiple = FALSE
total edges=
2011 Jul 06
1
superimposing network graphs
Dear all,
I have a undirected network (g), representing all the sexual relationships that ever existed in a model community.
I also have a directed edgelist (e) which is a subset of the edgelist of g. e represents the transmission pathway of HIV.
Now I would like to superimpose the picture of the sexual relationships with arrows in a different colour, to indicate where in the network HIV was
2009 Jul 23
1
RMySQL Error
Hi Everyone,
I am relatively new to R, but I want to try to learn how to use it and
potentially replace the other commercial packages I have learned to use over
the years. That said, I need to get at data in databases, more
specifically, MySQL.
I installed the RMySQL package without error, but when I try to load it, I
get the following error:
> library(RMySQL)
Loading required package: DBI
2009 Jan 26
1
PCALG Package
Hi all,
Can anyone help me setup this package so I can use it. I am getting errors with the Rgraphviz package and have tried a number of ways to get this to work. Any help will be greatly appreciated! I am sorta new to R but have been actively trying to get into using it as my main analysis software.
Thanks,
Brock
[[alternative HTML version deleted]]
2009 Nov 28
1
Kohonen Package
Hi All,
I am still learning R, but making, IMO, great strides. I learned about Kohonen/Self-Organizing Maps in class and I would like to try to replicate some of the things we have seen in class.
Below is my code. I am trying to create a u-matrix. In the documentation on page 9 it appears the type of plot, dist.neighbours should do the trick, however, I am getting an error:
(Error in
2010 Mar 17
0
Antw: odfWeave Error
Hi,
I am using 7-zip for unzipping (http://www.7-zip.org/). Then
odfWeaveControl needs to be set to
odfWeaveControl(zipCmd=c("c:/programme/7-zip/7z a -tzip
$$file$$","c:/programme/7-zip/7z x $$file$$ -aoa")) -> control
where 'c:/programme/7-zip/' is the path to my 7-zip installation.
You can then use control to set the control-parameter in odfWeave.
Frank
2008 Feb 01
1
package could not be loaded
Hi,
I am an R newbie. I am running R2.5.1 on WinXP. I am trying to run a pacakge
(BNArray1.0) that depends on deal 1.2-26 and dynamicGraph 0.2.0.1 . These
are available on http://www.cls.zju.edu.cn/binfo/BNArray/#OLE9 .
I have installed the 3 packages (using local files). When I try to run
BNArray, I reveicd this error message
> local({pkg <- select.list(sort(.packages(all.available =
2010 Mar 17
3
odfWeave Error
Hi All,
This is probably basic, but I am just starting with R and very interested in
learning how to automate my reports. I am just learning about Sweave and
LaTex.
I am following an example from online and am getting the following error:
....."Error unizipping file....unzip not found".
I am not a programmer by any stretch, but I realize that the package is
either not recognizing
2009 Dec 07
1
igraph plot - vertex colors
Hi everyone,
I have successfully created and analyzed my network data. I am new to R, and Network Analysis too, but I want to color my vertex based on some of the centrality measures calculated.
Can someone point me in the right direction? Again, I am new to R, but given how powerful R appears to be, I figure this is probably pretty easy to do, I just wish I could figure it out.
Many thanks
2008 Mar 04
1
Error in Arules
Hi everyone,
This is my first posting and I am just starting to fumble my way thru R.
I have been working thru the Arules package, and I used to be able to
use the image function and I get the following message:
Error in image.default(basket2) : 'z' must be a matrix
I used to be able to plot the image. I only started to get this error
when I tried to add x and y axis labels.
2012 Nov 19
0
R SNA: Creating a adjacency matrix containing all actors but only values of a subset
1 down vote favorite
my problem is the following:
I am using the R SNA package for social network analysis. Lets say, my
starting point is an edgelist with the following characteristics. Every row
contains a firm name, the ID of a project they are involved and further
characteristics, let's say the projects year. Firms can be in several
projects, and one project can consist of a
2010 Dec 21
3
Link prediction in social network with R
Dear R users
I'm a novice user of R and have absolutely no prior knowledge of social network analysis, so apologies if my question is trivial. I've spent alot of time trying to solve this on my own but I really can't so hope someone here can help me out. Cheers!
The dataset:
I'm trying to predict the existance of links (True or False) in a test set using a training set. Both
2003 Apr 22
1
Social Network Analysis and R
I'm interested in computing densities of a number of small ego-centred or local
networks. I've installed both the R program and the sna package. My next task
is importing the data into R.
Our data was entered into Spss in an edgelist format in which each case
specifies the link between an alter and an ego. For example:
10101 10102 1
10101 10103 3
10102 10104 2
10201 10203