getMDFR: Get model arrays as a melted dataframe from TCSAM2015 and...

Description Usage Arguments Details Value

View source: R/getMDFR.R

Description

Function to get model objects as a melted dataframe from TCSAM2015 and rsimTCSAM models.

Usage

1
getMDFR(path, tcsams = NULL, rsims = NULL, verbose = FALSE)

Arguments

path

- path in models to requested array (using '/' as separator for list levels)

tcsams

- single TCSAM2015 model report object, or named list of such

rsims

- single rsimTCSAM results object, or named list of such

verbose

- flag (T/F) to print diagnostics

Details

Returned dataframe is a melted (ala reshape2) version of the requested array, with additional columns 'model' and 'modeltype' appended at the "right". The array value is in column 'val'. Uses reshape2::melt(...).

Value

Melted dataframe (ala package reshape2).


wStockhausen/rTCSAM2015 documentation built on May 3, 2019, 7:14 p.m.