[statnet_help] Error when using simulate
Michał Bojanowski
michal2992 at gmail.com
Sun Dec 4 15:08:36 PST 2022
Hi Lin Zhu,
This seems like a technical issue with 'tergm' or 'networkDynamic'. Can you
please open an issue at https://github.com/statnet/tergm/issues adding a
minimal reproducible example code that we could use to trace where the
potential bug is?
Best,
Michal
On Sun, Dec 4, 2022 at 9:48 PM Lin Zhu <linzhu1 at stanford.edu> wrote:
> 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
>
> [image: signature_3152782964]
>
>
>
>
> _______________________________________________
> statnet_help mailing list
> statnet_help at u.washington.edu
> http://mailman13.u.washington.edu/mailman/listinfo/statnet_help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20221205/91669e88/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6796 bytes
Desc: not available
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20221205/91669e88/attachment.png>
More information about the statnet_help
mailing list