Hello,
I am running a high number of SCR simulations using NIMBLE and I have issues with the speed of the "runMCMC" function. This is inside a long for loop so I tried using foreach but somehow it did not work.
I then found online examples about wrapping the entire code inside a function and using parlapply but these examples always concern simple codes while mine is quite articulated and I have a lot of inputs!
Therefore, I am asking you if there was a way to implement parallelisation into the "runMCMC" function only like it is the case for other functions from other packages using arguments such as "parallel = number of cores".
Thank you very much and I hope you can help me :)
Cheers,
Stefano