Learn R Programming

EcoEnsemble (version 1.1.2)

EnsembleFit-class: A class to hold the samples or point estimates from the ensemble model.

Description

An EnsembleFit object is returned by the fit_ensemble_model function. The object contains a slot for the EnsembleData object originally used to fit the ensemble model. 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.

Arguments

Slots

ensemble_data

An EnsembleData object encapsulating the data used to fit the ensemble model.

samples

A stanfit object containing the samples drawn from the fitted model. The default value is NULL.

point_estimate

A list output of the optimised model. The default value is NULL.

References

Stan Development Team (2020). RStan: the R interface to Stan. R package version 2.21.2. https://mc-stan.org

See Also

EnsembleFit, fit_ensemble_model, generate_sample