Hi,
after setting the subset.threshold, the group of the nodes seem not correct, here is the code I tested:
n= network(35,directed=FALSE)
type <- sample(1:2, 35, replace=T)
names(type) <- seq(1,35)
ggnet(n,node.group=type,label.nodes = TRUE,subset.threshold =0)
ggnet(n,node.group=type,label.nodes = TRUE,subset.threshold =2)
the group is:
this is the result and the color of some nodes are not correct such as 8, 10, 18 :
Hi, after setting the subset.threshold, the group of the nodes seem not correct, here is the code I tested: n= network(35,directed=FALSE) type <- sample(1:2, 35, replace=T) names(type) <- seq(1,35) ggnet(n,node.group=type,label.nodes = TRUE,subset.threshold =0) ggnet(n,node.group=type,label.nodes = TRUE,subset.threshold =2)
the group is:
this is the result and the color of some nodes are not correct such as 8, 10, 18 :