This worker function is defined outside of learn.R in order to avoid import of spurious objects into the parallel workers, with waste of memory
Usage
workerfun(
acore,
dirname,
dashnameroot,
avoidzeroW,
initmethod,
constants,
datapoints,
vn,
showAlphatraces,
Alphatoslice,
Ktoslice,
RWtoslice,
changeSamplerOrder,
minchainspercore,
coreswithextrachain,
nchains,
maxhours,
timestart0,
showsamplertimes,
startupMCiterations,
maxMCiterations,
showKtraces,
ncomponents,
plottraces,
Qlo,
Qhi,
Qerror,
minESS,
initES,
nsamplesperchain,
minMCiterations,
printtimediff,
family
)