combineEnsemble.fn: Samples from each ensemble model

View source: R/combineEnsemble.R

combineEnsemble.fnR Documentation

Samples from each ensemble model

Description

Samples from each ensemble model

Usage

combineEnsemble.fn(models, param = "SPB", element = "derived_quants",
  yrs = NULL, useCov = F, totN = 1e+06, wts = 1, asList = FALSE)

Arguments

models

A list of SS_ouput models

param

The name of the parameter to be combined (does not include year)

element

The list element to get param from (e.g., derived_quants, parameters)

yrs

The yrs of the parameter to summarize. If NULL, it will either include all years, or the param does not have a year.

totN

Total number of samples of combined models

wts

Weights applied to each model when combining. This is normalized, so can be any number. A single number means equal weights (default)

asList

Will keep the sample from each model as a list element. By default it is FALSE, but will be changed to true if the variables are not the same for each model (which would occur if some are not estimated in a model)


allanhicks/Ensemble documentation built on Feb. 16, 2024, 1:37 a.m.