mcmc.CalcABC: Function to calculate ABC and OFL from an MCMC dataframe

Description Usage Arguments Details Value

View source: R/mcmc.CalcABC.R

Description

This function calculates ABC and OFL from TCSAM02 MCMC output.

Usage

1
2
mcmc.CalcABC(mcmc = NULL, dfr = NULL, pstar = 0.49, buffer = 0.2,
  xlims = NULL, title = NULL, verbose = FALSE)

Arguments

mcmc

- mcmc object

dfr

- dataframe with OFL as column (and possibly 'case')

pstar

- pstar value for ABC calculation

buffer

- buffer for ABC as fraction (i.e., 0.20 = 20 % yields ABC = 0.8*OFL)

xlims

- range for x-axis in plot

title

- title for plot

verbose

flag to rpint diagnostic info

Details

uses plotABC to produce ABC plots for each case

Value

dataframe with median results, ABC.pstar and ABC.buffer for each case


wStockhausen/rTCSAM02 documentation built on Dec. 7, 2018, 7:58 a.m.