search for: testforr

Displaying 1 result from an estimated 1 matches for "testforr".

Did you mean: testfor
2011 May 23
0
SNA query
...g with the very useful SNA package (v.2.2) in R and have a query I hope you may be able to help out with: I have been using gplot commands to plot an SNA graph. Here's the code and output: library(sna); library(network); library(RODBC) setwd("c:\\temp") x = read.csv(file = "testforr.csv") Total.Sold=c(1,3,6,1,3,6,1,3,6,6,9) src=c(1:10,1) des=c(2:10,1,3) y=data.frame(Total.Sold,src,des) dat.edg <- network(y, directed = TRUE, matrix.type = "edgelist") # Plot the network: gplot(dat.edg, displaylabels = TRUE, label.cex = 0.9, arrowhead.cex = 0.9, verte...