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

Arguments

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

Details

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