[Basta-users] Error in basta: (acceptCrit > acceptProb)
Fernando Colchero
colchero at imada.sdu.dk
Sat Oct 22 08:34:00 CEST 2022
Hi Inez,
Thanks for using the package, and for reporting the error. I will need a bit more information to find the bug. That is certainly happening within the MCMC, but it may be a problem with the data. Could you send me a sample of your data?
Best,
Fernando
-----------------------------------------------------
Fernando Colchero
Associate Professor
Department of Mathematics and Computer Sciences (IMADA)
and Interdisciplinary Center on Population Dynamics (CPop)
Tlf. +45 65 50 46 35
Email colchero at imada.sdu.dk<mailto:colchero at imada.sdu.dk>
Web www.sdu.dk/staff/colchero
Pers. web www.colchero.com
Adr. Campusvej 55, 5230, Odense, Dk
University of Southern Denmark
------------------------------------------------------
From: Basta-users <basta-users-bounces at lists.r-forge.r-project.org> on behalf of Inez Elisabeth Derkx <inezelisabeth.derkx at uzh.ch>
Date: Friday, 21 October 2022 at 15.19
To: basta-users at lists.r-forge.r-project.org <basta-users at lists.r-forge.r-project.org>
Subject: [Basta-users] Error in basta: (acceptCrit > acceptProb)
You don't often get email from inezelisabeth.derkx at uzh.ch. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
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/20221022/ccbdc59f/attachment-0001.html>
More information about the Basta-users
mailing list