Compute the log-likelihood for the Ultimate Deconvolution model.
An Ultimate Deconvolution model fit. Typically,
this will be an output of ud_init
or ud_fit
.
When version == "R"
, the computations are
performed entirely in R; when version == "Rcpp"
, an Rcpp
implementation is used.
Additional arguments (unused).
A number giving the log-likelihood for the model.