Creates a standardized likelihood class#'
createLikelihood(likelihood, names = NULL, parallel = F, catchDuplicates = T, sampler = NULL, parallelOptions = NULL)
| likelihood | Log likelihood density |
|---|---|
| names | Parameter names (optional) |
| parallel | parallelization , either i) no parallelization --> F, ii) native R parallelization --> T / "auto" will select n-1 of your available cores, or provide a number for how many cores to use, or iii) external parallelization --> "external". External means that the likelihood is already able to execute parallel runs in form of a matrix with |
| catchDuplicates | Logical, determines whether unique parameter combinations should only be evaluated once. Only used when the likelihood accepts a matrix with parameter as columns. |
| sampler | sampler |
| parallelOptions | list containing two lists. First "packages" determines the R packages necessary to run the likelihood function. Second "objects" the objects in the global envirnment needed to run the likelihood function (for details see |