This method only works if there is a working installation of REBayes
available. See the REBayes package and corresponding papers for more
implementation details.
ConvexDual(A, ...)a vector containing the fitted prior
numeric matrix likelihoods
further arguments passed to Rmosek such as rtol
The matrix A is structured as follows: A_ij = P(X_i | theta = t_j),
where X_i is the i'th observation and t_j is the j'th set of
parameters/grid-point.