nimble (version 0.7.0)

rename_MCMC_comparison_method: Rename a method in an object returned by compareMCMCs

Description

Switches one label for a new one in the timing, efficiency, summary, and samples (if present) elements of a compareMCMCs result.

Usage

rename_MCMC_comparison_method(oldname, newname, comparison)

Arguments

oldname

(character) Existing name for the method (which would have been determined from inputs to compareMCMCs).

newname

(character) New name for the method

comparison

An object returned by compareMCMCs.

Value

An object in the same format as comparison.

Details

One of the main purposes of renaming a method is that the method names are used in html results generated by make_MCMC_comparison_pages.

See Also

compareMCMCs, codecombine_MCMC_comparison_results, make_MCMC_comparison_pages, reshape_comparison_results.