can not set n_chains
Closed this issue · 2 comments
LoreMJ commented
I can only run run_paramedic when n_chains = 1. Other number of chains will report error!
bdwilliamson commented
Thanks for using paramedic
, and for letting us know about this error!
I have just implemented a fix for this; however, I am working on several other feature additions at the moment, so I will not be releasing a package update for a bit.
In the meantime, you can work around this error to use multiple chains by passing in your own list of initial values. For example, if you want to use 2 chains, (with random initial values), you can use the following code:
# creates a list of length 2
inits <- replicate(2, list(init = "random"), simplify = FALSE)
and pass this in using the argument inits_lst
in run_paramedic
.
bdwilliamson commented
Fixed in b111946 (v0.1.2)