Displaying 9 results from an estimated 9 matches similar to: "drawing the graph with many nodes"
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)
>
2009 Sep 11
2
Graph visualization
Hello,
I am working with graph and adjacency matrix, the package 'graph' seems to be appropriate for this.
An example in the package
> mat <- rbind(c(0, 0, 1, 1),
+ c(0, 0, 1, 1),
+ c(1, 1, 0, 1),
+ c(1, 1, 1, 0))
> rownames(mat) <- colnames(mat) <- letters[1:4]
> graph1 <- new("graphAM", adjMat=mat)
> graph1
A
2007 Aug 28
4
Nodes & edges with similarity matrix
Hello,
I apologise if someone has already answered this but I searched and
googled but didn't find anything.
I have a matrix which gives me the similarity of each item to each
other. I would like to turn this matrix into something like what they
have in the graph package with the nodes and edges.
http://cran.r-project.org/doc/packages/graph.pdf . However I cannot find
a method to
2008 Apr 17
1
Finding a path using the Graph package
Hello,
Does anyone know of a way of finding all the nodes that are between a pair
of specified nodes in the excellent graph package (R vers 2.5.0).
I have a class(graphAM) object and need to determine all possible pathways
in this object.
Here's an example: In the simple case of a--b--c (where -- denotes
"conected to") the list of all pathways would be: ab ba abc cba cb bc.
2009 Feb 10
0
Resize edge's label fontsize
Hi,
I'm trying to create a connectivity diagram using
RgraphViz library. I want to increase the edge's label fontsize, but
the size did not change.
Did I do something wrong ?
M <- matrix(nrow=5,ncol=5,byrow=TRUE,data=mytable)
colnames(M) <- levels(pf$agent)
A <- new("graphAM", M, "directed", values = list(weight=M))
eAttrs <- list()
ew <-
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
2012 Dec 11
1
Dispatching on a dgCMatrix does not work.
I represent a graph as an adjacency matrix of class "dgCMatrix" (from the Matrix package).
> xx
5 x 5 sparse Matrix of class "dgCMatrix"
a b c d e
a . 1 1 . .
b 1 . 1 . .
c 1 1 . 1 1
d . . 1 . 1
e . . 1 1 .
To check if the matrix defines and undirected graph, I have made the following functions/methods:
is.UG <- function (object) {
UseMethod("is.UG")
}
2016 Jan 04
2
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
The bulk is on my forums - the final post for today is:
Results to date:
A. It looks like I am going to need a newer compiler for C - xlc/xlC V11
apparently does not understand this code:
"/data/prj/cran/R-3.2.3/src/main/memory.c", line 2149.31: 1506-046 (S)
Syntax error.
I will have to check if R-devel has different code before asking for
assistence.
+2139 #ifdef
2011 May 05
0
problem with cor() using bigmemory
Hello, I have a rather large set of data I need to analyze, currently I need to work with a 200000 by 200000 matrix, I'm using the package bigmemory but so far I can only allocate a 66000 by 66000 matrix, when I increase those values I get the following error:
> AdjMat <- big.matrix(nrow=68000,ncol=68000)
Cannot allocate memory
BigMatrix.cpp line 225
Error in big.matrix(nrow = 68000,