DREAM with external batch files in parallel folders
N.B. This functionality is only provided on request for expert users of external model software. It is assumed that users are capable of setting up batch files, executing them from R, and reading in the results. The authors can only provide limited support.
With the setting
FUN to be of the form
logp=f(chain.id, list of
pars). By passing the
chain.id to the function, the user can
run external programs in parallel (using SNOW) within separate
func.typemust be "logposterior.density", i.e.
FUNmust return the log-likelihood
measurementshould be left at its default value of
NULLor dream will stop with an error.
FUN.parsshould be left at its default value of
list()or dream will stop with an error.
dreamCalibrate cannot be used
dream for documentation of other arguments, and
dreamCalibrate for the recommended way to calibrate a
function using dream.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.