Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty graph fails to plot #7

Open
gvegayon opened this issue Apr 1, 2022 · 0 comments
Open

Empty graph fails to plot #7

gvegayon opened this issue Apr 1, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gvegayon
Copy link
Member

gvegayon commented Apr 1, 2022

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 gvegayon added the bug Something isn't working label Apr 1, 2022
@gvegayon gvegayon self-assigned this Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant