Closed fzhang612 closed 11 years ago
Thanks for the report. There are two issues here:
network
and igraph
size
argument is meant to be a single-length vectorI have fixed the first issue in my last commit. I don't yet have a solution to the second one, though, because I had not planned this use of the size
argument. I can try to make it work later, though :)
Hope this helps!
P.S. Your issue just helped me improve the way node labels are drawn. Thanks!
Glad to make some contribution.
Looking forward to next version where I can control the node size. In my opinion this is a useful feature.
Keep up the good work. Thanks!
Here's a way to get what you want in the meantime:
ggnet(g, size = 0, node.group = V(g)$gender) +
geom_point(aes(size = V(g)$age/2)) +
scale_size_area(max_size = 12)
Looks great! Thanks!
Should I close this issue?
Yes please :)
Hi,
Seems like I can set node size and group separately but can't simultaneously. Here is the code
Thanks!