Learn R Programming

heemod (version 1.0.2)

combine_models: Combine Multiple Models

Description

Given a set of models run with different parameters, return aggregated results to estimate population-level values.

Usage

combine_models(newmodels, weights, oldmodel)

Value

A combined_models object, mostly similar to a result from run_model(). plot

and summary methods are available.

Arguments

newmodels

A list of models run over a set of multiple parameters.

weights

A vector of weights, same length as the number of parameter sets.

oldmodel

The original model.