Learn R Programming

SDGLM (version 0.4.0)

geoTemp: Generate Geometric Temperature Ladder for Parallel Tempering

Description

Produces a geometric progression of inverse-temperatures (or temperatures) commonly used in parallel-tempered MCMC algorithms.

Usage

geoTemp(N, T1 = 1, TN = 20)

Value

Numeric vector of length N containing the geometrically spaced temperatures T_1, T_2, ..., T_N.

Arguments

N

Integer > 1, number of chains/temperatures.

T1

Numeric > 0, coldest temperature (usually 1).

TN

Numeric > T1, hottest temperature.

Examples

Run this code
geoTemp(8, T1 = 1, TN = 20)

Run the code above in your browser using DataLab