nimble (version 0.7.0)

reshape_comparison_results: Convert comparison results to a more general format

Description

Useful for making new kinds of figures or other needs

Usage

reshape_comparison_results(oneComparisonResult, includeVars = TRUE,
  includeEfficiency = TRUE, includeTiming = TRUE)

Arguments

oneComparisonResult
includeVars

(default TRUE): whether to include the summary elements for each variable

includeEfficiency

(default TRUE): whether to include the efficiency for each variable

includeTiming

(default TRUE): whether to include the timing for each variable (which is the same for all variables from the same MCMC method)

Value

A data frame with the content from oneComparisonResult reshaped

Details

This is used internally by make_MCMC_comparison_pages but could also be useful to users who want to do their own thing with results from compareMCMCs.