nvd function fails to sample networks from Binomial and Poisson distribution.
As we can see from the definition of the nvd function, at line 57, rpois_network function is used, but the number of nodes (25 in this case) is assigned to the argument n, instead of num_vertices.
Analogously, this happens also for rbinom_network.
nvd
function fails to sample networks from Binomial and Poisson distribution. As we can see from the definition of the nvd function, at line 57,rpois_network
function is used, but the number of nodes (25 in this case) is assigned to the argumentn
, instead ofnum_vertices
. Analogously, this happens also forrbinom_network
.