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

martina morris morrism at uw.edu
Sat Mar 21 09:16:37 PDT 2020

---------- Forwarded message ----------
Date: Sat, 21 Mar 2020 12:05:20 +0000
From: hakan hekim <hhekim at hotmail.com>
To: "morrism at uw.edu" <morrism at uw.edu>
Subject: An error on gplot.target() function


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?



More information about the statnet_help mailing list