Learn R Programming

EcoEnsemble (version 1.1.2)

EnsembleData-class: A class to hold the Ensemble data

Description

A class that holds the observation data, simulator outputs, and prior information to convert into the required form for fit_ensemble_model.

Arguments

Slots

stan_input

A list of parameters in the correct form to fit the ensemble model in Stan.

observations

A list of length 2 containing observations and a covariance matrix. The first element is a data.frame or matrix with each column giving observations of each output of interest and each row a time. Rows should be named with the times and columns should be named the variables. The second element is the covariance matrix of the observations.

simulators

A list with length equal to the number of simulators. For each simulator, there is a list of 2 objects containing the simulator output and covariance matrix. The first element is a data.frame or matrix with each column giving a simulator outputs of interest and each row a time. Rows should be named with the times and columns should be named the variables. The second element is the covariance matrix of the simulator outputs.

priors

An EnsemblePrior object specifying the prior distributions for the ensemble.

See Also

EnsembleData, EnsemblePrior, fit_ensemble_model