Displaying 20 results from an estimated 8000 matches similar to: "network"
2009 Apr 07
2
Minimum Spanning Tree
Hi all, I'm very new to R and read a few tutorials, however I'm having
difficulty trying to figure out how to plot a minimum spanning tree. I have
a csv file that contains an n-by-n matrix of distances between strains of
bacteria called matrix.csv.
Looks like:
id,strain1, strain2,strain3
strain1,0,.2,.8
strain2,.3,0,.7
strain3,.4,.6,0
I've been messing around with some information
2007 Oct 08
2
graph or svn
Hello all,
I'm having a spot of trouble. I have made a very nice distance
matrix from some comparison calculations. However, the matrix is 3096 x
3096, so it's relatively large. Currently I'm using the svn package as
it seems to work for my data. The graph package errors and says the
"adjacency matrix must be symmetric for undirected graphs". I though
3096 x 3096 was
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
2008 May 09
3
For Social Network Analysis-Graph Analysis - How to convert 2 mode data to 1 mode data?
Hi,
Does anyone know of a package in R that has a function to convert
network data (e.g. an adjacency matrix or ) from 2-mode to 1-mode? I am
conducting social network analysis. I know that Pajek has this function
under Net --> Transform --> 2-mode to 1-mode --> Rows. I have searched
the documentation under packages 'sna', 'network', 'igraph', and
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 <-
2011 Mar 28
2
Questions about 'igraph' package.......
I am using 'igraph' package to make some graphs of 'gene-gene interaction'.
I can get a data.frame which has three columns.
gene1 gene2 pvalue
AGT MLR 1.2e-04
MLR 11BHSD1 1.71e-05
IFG2 11BHSD2 2.2e-07
. . .
. . .
. . .
AGTR1 NPPA
2009 Apr 06
5
Search for a graph package - see link
Hi to all,
does anybody knows whether there is a package to plot those
http://www.equine-science.de/temp/graph.jpg
graphs.
the thickness of the points and/or the lines should be represent the
numbers of behaviours
With kind regards Knut
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 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,
2008 Feb 11
4
Conditional rows
Hi,
Given a simple example, test <- matrix(c(0.1, 0.2, 0.1, 0.2, 0.1, 0.1, 0.3,
0.1, 0.1), 3, 3)
How to generate row indexes for which their corresponding row values are
less than or equal to 0.2 ? For this example, row 2 and 3 are the correct
ones.
Thanks
[[alternative HTML version deleted]]
2008 Feb 01
2
re placing values in a matrix
useR's,
Consider:
y <- c(20, 25, 30)
> m <- matrix(c(0.0,1,NA,0.5,1.25,0.75, 0.5, NA,
> NA),byrow=TRUE,nrow=3,ncol=3)
> m
[,1] [,2] [,3]
[1,] 0.0 1.00 NA
[2,] 0.5 1.25 0.75
[3,] 0.5 NA NA
For each numeric value, I want to replace them with their corresponding
y-value. The result should look like (here, each row represents a variable
rather than the columns):
2008 Jan 11
2
Count unique rows/columns in a matrix
Dear List,
i know there are some solutions for this in the archive,
but they're not very good for numeric matrices, since they
usually convert rows/columns to character strings. Is there
an easy way to do $subject for numeric matrices properly,
or i need to do it by hand?
Thanks,
Gabor
2008 Jan 26
3
Which R version created a package?
Greetings, R-ians:
I would like to know which version or R was used to create a given package.
I think I remember seeing that topic discussed recently but cannot find it
among my notes. Can anyone tell me how to determine which version of R
created a package?
Thanks.
Charles Annis, P.E.
<mailto:Charles.Annis@StatisticalEngineering.com>
Charles.Annis@StatisticalEngineering.com
2008 Feb 18
2
library(convert)
Hallo,
I am running R-2.6. on Windows. I have a code which uses
library(convert). Can anyone tell me which package I need to install to
run this code. Everytime I receive the error message library (convert)
not found.
Thanks, Corinna
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.
2008 Jan 14
3
problems with .svg
Dear everybody!
I am making a graph in R and employ pstoedit to expot the .pdf-output
to .svg.
When I open the .svg with firefox I get the .svg-code shown wit the
following header:
"Mit dieser XML-Datei sind anscheinend keine Style-Informationen
verkn?pft. Nachfolgend wird die Baum-Ansicht des Dokuments angezeigt."
Which information should how be included?
Thank you in advance.
Yours,
2008 Mar 04
4
R-Terminal
Hi there!
I use an gnome-terminal for using R. When I resize the termial to the
maximum size, R uses only the left side of the window. Can I tell R to
use the whole window somehow?
Thanks,
Martin
--
Ihr Partner f?r Webdesign, Webapplikationen und Webspace.
http://www.roomandspace.com/
Martin Kaffanke +43 650 4514224
-------------- next part --------------
A non-text attachment was
2010 Jun 21
4
S3 generics need identical signature?
Dear all,
"Writing R Extensions" explicitly says that
A method must have all the arguments of the generic, including ...
if the generic does.
A method must have arguments in exactly the same order as the generic.
If the generic specifies defaults, all methods should use the same
defaults.
This is clear. R CMD check even checks for this.
But then how is it possible that
2008 Jul 08
4
Can R do this ?
I have a folder full of pngs and jpgs, and would like to consolidate them into a pdf with appropriate title and labels. Can this be done via R ?
_________________________________________________________________
Easily publish your photos to your Spaces with Photo Gallery.
[[alternative HTML version deleted]]