tune_temperatures: Tune temperatures

Description Usage Arguments Value

View source: R/functions.R

Description

Tune temperatures using interval bisection to minimimise Kullback-Liebler divergence between adjacent power posteriors

Usage

1
tune_temperatures(number_of_temperatures, return_temperatures = FALSE, ...)

Arguments

number_of_temperatures

Integer value giving number of tuned temperatures (including 0 and 1) to obtain.

return_temperatures

Logical value determining whether to return just the numeric vector of tuned temperatures or to return the BeviMed_m-classed object containing the output of the MCMC sampling.

...

Other arguments to pass to call_cpp.

Value

If return_temperatures == TRUE, a numeric vector of tuned temperatures, otherwise an object of class BeviMed_m.


BeviMed documentation built on Aug. 21, 2017, 5:05 p.m.