Closed francescavantaggiato closed 2 years ago
Thanks for reporting. These are most likely byproducts of ergm
going 4.0 recently.
With respect to ESP, as a temporary workaround you should be able to build the plot "by hand" using elements of the object returned by gof()
.
We need to take a more detailed look whats going on with the degree / degree-range case.
Command
plot(gof(fitted_model, GOF="esp"))
returns an image where the esp are incorrectly ordered. In the plot, the order is esp0, esp1,esp10 …, esp2, esp20, esp21 etcetera. This suggests that R reads the esp values as character.
Example code below to reproduce error
Additionally, in this specific toy example command
plot(gof(fitted_model, GOF='degree'))
in this specific example reports the following error:
Error: In term ‘degrange’ in package ‘ergm’: Term degrange must have from<to.
Why?
Thanks much,
F.