Thanks for the great package. I noticed that computing the ESS of a mixture prior using the ELIR method leads to the following error when the weight of one component is set to 0:
Error in if (all(dmix(mix_comp_identity, support(mix_comp_identity)) == :
missing value where TRUE/FALSE needed
Hello,
Thanks for the great package. I noticed that computing the ESS of a mixture prior using the ELIR method leads to the following error when the weight of one component is set to 0:
Minimal example to reproduce the issue :
The error does not occur when using the moments method. Moreover, the following works:
Version : RBesT_1.7-3
R version 4.4.1 (2024-06-14 ucrt) Platform: x86_64-w64-mingw32/x64 Running under: Windows 10 x64 (build 19045)
Thanks.