createLikelihood: Creates a standardized likelihood class#'

Description Usage Arguments Author(s) See Also

View source: R/classLikelihood.R

Description

Creates a standardized likelihood class#'

Usage

1
2
createLikelihood(likelihood, names = NULL, parallel = F,
  catchDuplicates = T, sampler = NULL, parallelOptions = NULL)

Arguments

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 createBayesianSetup).

Author(s)

Florian Hartig

See Also

likelihoodIidNormal
likelihoodAR1


BayesianTools documentation built on Dec. 10, 2019, 1:08 a.m.