Network plotting
Plot the graph of a sociomatrix
netplot(Y,X=NULL,xaxt="n",yaxt="n",xlab="",ylab="", lcol="gray",ncol="black",lwd=1,lty=1,pch=16,bty="n",plotnames=FALSE, seed=1, plot.iso=TRUE,directed=NULL,add=FALSE,...)
Y
: a sociomatrixX
: coordinates for plotting the nodesxaxt
: x-axis typeyaxt
: y-axis typexlab
: x-axis labelylab
: y-axis labellcol
: edge colorncol
: node color (can be node-specific)lwd
: line widthlty
: line typepch
: plotting character for nodes (can be node-specific)bty
: bounding box typeplotnames
: plot rownames of Y as node labelsseed
: random seedplot.iso
: include isolates in plotdirected
: draw arrowsadd
: add to an existing plot regiondata(addhealthc3) Y<-addhealthc3$Y X<-xnet(Y) netplot(Y,X)
Peter Hoff