ev_single: Helper function for EV

Description Usage Arguments

View source: R/bayesian.R

Description

Helper function for EV

Usage

1
ev_single(samples, modelgroup, reportvars, weighted, lp)

Arguments

samples

Data frame of Monte Carlo samples for a single model.

modelgroup

Vector of names of columns that define the model groupings. These will be included in the results along with the reportvars.

reportvars

Vector of names of variables for which to report expectations.

weighted

If TRUE, weight samples by their posterior probabilities.

lp

Name of column containing the log posterior.


JGCRI/gcamland documentation built on Oct. 6, 2020, 5:30 p.m.