[Basta-users] Error in basta: (acceptCrit > acceptProb)

Inez Elisabeth Derkx inezelisabeth.derkx at uzh.ch
Fri Oct 21 15:18:39 CEST 2022


Hello,

I am trying to use the basta function from the BaSTA package for R and am receiving the following input/output:

---
Input:
File_y  <- basta(object = file_x, studyStart = 2018, studyEnd = 2022, model="GO", niter=50000,
+                    nsim = 2, parallel = TRUE, ncpus = 2)

Output:
No problems were detected with the data.
Starting simulation to find jump sd's... Error in if (acceptCrit > acceptProb) { :
  missing value where TRUE/FALSE needed
---

Does someone have an idea of what may have caused this issue? I believe it concerns the MCMC function within the Basta function, but the syntax occurs more than once and hence I am not sure where the error lies.

Any help would be amazing!

Thank you,
Inez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20221021/b356c068/attachment.html>


More information about the Basta-users mailing list