EnsembleFit
objectThe constructor for an EnsembleFit
object. This function need not be called as an EnsembleFit
object is constructed automatically by the fit_ensemble_model
function.
The samples
slot contains the samples from the MCMC if a full sampling was completed, otherwise the point_estimate
slot contains information about a point estimate.
EnsembleFit(ensemble_data, samples = NULL, point_estimate = NULL)
An object of class EnsembleFit
An EnsembleData
object encapsulating the data used to fit the ensemble model.
A stanfit
object containing the samples drawn from the fitted model. The default value is NULL
.
A list
output of the optimised model. The default value is NULL
.
Stan Development Team (2020). RStan: the R interface to Stan. R package version 2.21.2. https://mc-stan.org
EnsembleFit
, fit_ensemble_model
,