Create an example dataset, and from that a likelihood or posterior for the VSEM model
VSEMcreateLikelihood(likelihoodOnly = F, plot = F, selection = c(1:6, 12))
likelihoodOnly | switch to devide whether to create only a likelihood, or a full bayesianSetup with uniform priors. |
---|---|
plot | switch to decide whether data should be plotted |
selection | vector containing the indices of the selected parameters |
The purpose of this function is to be able to conveniently create a likelihood for the VSEM model for demonstration purposes. The function creates example data --> likelihood --> BayesianSetup, where the latter is the