Birgit Lemcke <[EMAIL PROTECTED]> writes: > Hello, > > sorry that I interfer, but I tried to do this > > The SymTest matrix: > > A B C D E F G > A 0.3 0.1 0.5 0.7 0.2 0.8 0.1 > B 0.1 0.5 0.4 0.6 0.7 0.3 0.7 > C 0.5 0.4 0.3 0.5 0.1 0.1 0.5 > D 0.7 0.6 0.5 0.4 0.3 0.5 0.7 > E 0.2 0.7 0.1 0.3 0.5 0.2 0.1 > F 0.8 0.3 0.1 0.5 0.2 0.3 0.5 > G 0.1 0.7 0.5 0.7 0.1 0.5 0.1 > > >g > A graphAM graph with undirected edges > Number of Nodes = 7 > Number of Edges = 28 > > g <- new("graphAM", adjMat=SymTest, values=list(weight=0)) > > plot(g) > Fehler in as.vector(x, "double") : kann nicht nach Vektor umwandeln > (Error in as.vector(x, "double") : can not convert to vector) > > what goes wrong?
I suspect that you have not installed and loaded Rgraphviz which contains the code to plot graph objects from the graph package. Without further details, for example the output of sessionInfo(), it is difficult to say. + seth -- Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center BioC: http://bioconductor.org/ Blog: http://userprimary.net/user/ ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.