Closed shangyuan232 closed 2 years ago
Taking the dataset "davis" in the "latentnet" package as an example, here is the code for generating a model and running the edgeprpb function.
library(latentnet) library(btergm) data("davis") model.1 <- ergm(davis~edges+gwb1dsp(0.25, fixed=T, cutoff=30)+ gwb2dsp(0.25, fixed=T, cutoff=30)) summary(model.1) edgeprob.model.1 <- edgeprob(model.1, verbose = T)
In the results, the column of j.name is full of NA, and some values in i.name are also NA.
Taking the dataset "davis" in the "latentnet" package as an example, here is the code for generating a model and running the edgeprpb function.
In the results, the column of j.name is full of NA, and some values in i.name are also NA.