brianstock / MixSIAR

A framework for Bayesian mixing models in R:
http://brianstock.github.io/MixSIAR/
91 stars 75 forks source link

'Failure to calculate log density' error occuring during 'run_model()' function #378

Open SawyerHilt opened 4 months ago

SawyerHilt commented 4 months ago

Hi all,

I've been trying to try out MixSIAR to produce a mixing model and am stuck on this error. Screen Shot 2024-05-07 at 1 59 47 PM

I have used the debug function to try and trace this error in the run_model() function, and it looks like it has something to do with the mix data I am using.. I have attached a screenshot below of the mixture data I am using in this model, as I can't really imagine what could be causing the problem here...

Screen Shot 2024-05-07 at 2 00 45 PM

Any help would be greatly appreciated! Thanks.