BayesianTools
BayesianTools copied to clipboard
lower / upper
lower / upper is only for the prior, can be set in
createPrior createBayesianSetup -> passes this on to createPrior
plotLower, plotUpper can be set for setup and is used for plots
if not set, but prior lower upper set, use prior lower upper
signatur
createBayesianSetup(likelihood, prior = NULL, lower, upper, plotLower, plotUpper, ... )
createPrior(prior = NULL, lower, upper, ... )
- if class == prior check if updates to class -> message for each update, then return class
- if function --> normal
- if NULL check lower upper, if exists createUniform else stop()
createLikelihood(likelihood = NULL, ... )
- no changes
For now I implemented the changes in createBayesianSetup #124
Implementing the changes in createPrior is not really straight-forward. Maybe we should push this back till next version. Right now we got the desired behaviour.