netplot icon indicating copy to clipboard operation
netplot copied to clipboard

Empty graph fails to plot

Open gvegayon opened this issue 2 years ago • 0 comments

library(ergm)
library(netplot)

n <- 50
n_egos <- 10
net <- as.network(matrix(0, ncol = n, nrow = n), directed = TRUE)
nplot(net)
# Error in quantile.default(netenv$vertex.size, 1 - netenv$vertex.label.show[1]) : 
#  missing values and NaN's not allowed if 'na.rm' is FALSE

gvegayon avatar Apr 01 '22 21:04 gvegayon