[statnet_help] An error on gplot.target() function (fwd)

martina morris morrism at uw.edu
Sat Mar 21 10:31:36 PDT 2020



Hi,

I am working on a SNA project and using statnet. I am having an error, I
couldn't find any contact information on statnet
website. I found your e-mail at statnet package document on CRAN.

Following code;
sna::gplot.target(g, closeness(g), main="Degree",  circ.lab = FALSE,
                  circ.col="skyblue", usearrows = FALSE,
                  circ.lab.col = "white",
                  vertex.col=c("blue", rep("red", 32), "yellow"),
                  edge.col="darkgray", displaylabels = TRUE,
                  label = netfriends_myk %v% "alias", label.cex=0.5,)

develops this warning;
In doTryCatch(return(expr), name, parentenv, handler) :  "circ.lab" is not a
graphical parameter

and in some cases does not draw the plot.

Can you help me on this issue or point to someone who can help?

Thanks.

Hakan



More information about the statnet_help mailing list