prep_temp_sequence: Prepare the ptMCMC temperature sequence

View source: R/ptMCMC.R

prep_temp_sequenceR Documentation

Prepare the ptMCMC temperature sequence

Description

Create the series of temperatures used in the ptMCMC algorithm.

This function was designed to work within TS and est_changepoints specifically, but has been generalized and would work with any ptMCMC model as long as control includes the relevant control parameters (and provided that the check_control function and its use here are generalized).

Usage

prep_temp_sequence(control = list())

Arguments

control

A list of parameters to control the fitting of the Time Series model including the parallel tempering Markov Chain Monte Carlo (ptMCMC) controls. Values not input assume defaults set by TS_control.

Value

vector of temperatures.

Examples

  prep_temp_sequence()


LDATS documentation built on Sept. 19, 2023, 5:08 p.m.