[statnet_help] Error when using simulate

Lin Zhu linzhu1 at stanford.edu
Sun Dec 4 12:43:12 PST 2022


Hi group,

I’ve checked this in the history but it seems there’s no information about it.

So I use the “simulate” function with an networkDynamic object. In some circumstances, it always stopped with an error message:


Error in if (!is.null(am) && am[nrow(am), 2] == times[1]) { :

missing value where TRUE/FALSE needed

I’m trying to identify what caused this error but View(simulate) doesn’t provide any original code and View(simulate.networkDynamic) doesn’t exist.

I’m using an older version of the package (to keep my code stable) right now:

Installed ReposVer Built
ergm "3.11.0" "4.3.2" "4.0.3"
ergm.count "3.4.0" "4.1.1" "4.0.3"
ndtv "0.13.2" "0.13.3" "4.0.2"
network "1.17.1" "1.18.0" "4.0.2"
networkDynamic "0.11.0" "0.11.2" "4.0.2"
sna "2.6" "2.7" "4.0.2"
statnet.common "4.5.0" "4.7.0" "4.0.2"
tergm "3.7.0" "4.1.1" "4.0.3"

Any idea what could cause the error or how I can find the function code so I can try to identify the error?

Thank you so much!

Best,
Lin

Lin Zhu | Research Engineer
Department of Health Policy | School of Medicine
Center for Health Policy | Freeman Spogli Institute for International Studies
Stanford University
615 Crothers Way
Encina Commons, Office 113
Stanford, CA 94305-6006
650.736.8139 | linzhu1 at stanford.edu
[signature_3152782964]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20221204/23d9900c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6796 bytes
Desc: image001.png
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20221204/23d9900c/attachment.png>


More information about the statnet_help mailing list